Angular · Junior · Question 61 of 75

Why doesn't this.http.get('/api/users') send any request?

Explanation

Each subscription sends a new request. That's why two async pipes on the same Observable can trigger two calls.

Further reading

Problem with a question

Angular · Junior · question 61

Test yourself

Take the Angular · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz