Flatten a Higher Order Observable with RxJS switch

André Staltz
InstructorAndré Staltz

Social Share Links

Tweet

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.