Course lesson
Flatten a Higher Order Observable with RxJS switch
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.
- Duration
- 5 min
- Access
- Pro
- Transcript
- Needs source
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.