Starting a Stream with SwitchMap

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

As developers, we tend to carry over ideas from past experience and try to reapply them to something new. This lesson teaches you about why you should usually favor switchMap over subscribe and why thinking about subscribe as an event handler can lead to problems.

Siva
~ 7 years ago

When i run the code in plunker i get the following error 413 Request Entity Too Large, nginx/1.11.3 How to fix this

ganqqwerty
~ 6 years ago

so basically switchMap takes every value from the source observable and injects it into the event parameter of that callback function? Who stops the console.log time every time I click on a button again?