1×
Become a member
to unlock all features
Autoplay

    Use switchMap as a Safe Default to Flatten Observables in RxJS

    rxjsRxJS
    ^5.0.0

    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.