Use switchMap as a Safe Default to Flatten Observables in RxJS
lessonDuration 3m 39s
In this lesson we look at the common strategies for creating and flattening higher order observables in RxJS. In particular, we give switchMap a careful review. It is an operator that works as an "asyncMap" and is capable of solving many of our asynchronous problems in JavaScript.