This lesson is for PRO members.

Unlock this lesson NOW!
Already subscribed? sign in

Flatten a higher order observable with RxJS switch

4:52 RxJS lesson by

To consume the higher order RxJS Observable, we had to do a subscribe inside a subscribe. In this lesson, we will learn a better approach using flattening operators, of which switch() is a common and simple one.

Get the Code Now
click to level up

egghead.io comment guidelines

Avatar
egghead.io

To consume the higher order RxJS Observable, we had to do a subscribe inside a subscribe. In this lesson, we will learn a better approach using flattening operators, of which switch() is a common and simple one.

Avatar
Rene

Is there any way you can include examples with real data?

Avatar
Andre

Hi Rene. Yes, keep on watching the course and in the 5th lesson from now, there is a real-world example for HTTP requests with switch().

In reply to Rene
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?