Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Use Higher Order Observables in RxJS Effectively

via egghead.io

Overview

If you have used RxJS Observables, it is likely you have seen the flatMap or switchMap operators. They are very powerful operators that can be used in various situations, while being common for dealing with HTTP requests. These operators may look mysterious at first, but turn out to be simple flattening operations on higher order Observables.
In this course you will learn what is a higher order Observable, when does it occur in real applications, and how to handle them with operators like switchMap. Throughout this course we will see real applications of these operations.
Start following this course if you have some understanding of RxJS, but want to gain advanced skills in the art of using operators.
If you're new to RxJS, we highly recommend the Introduction to Reactive Programming using RxJS to begin with, and then RxJS Beyond the Basics: Operators in Depth to understand operators.
If you're an absolute beginner to the concept of Observable and async streams, we highly recommend starting with Jafar Husain's excellent introduction.

Syllabus

  • Get Started with Higher Order Observables in RxJS
  • Flatten a Higher Order Observable with RxJS switch
  • Flatten a Higher Order Observable with mergeAll in RxJS
  • Flatten a Higher Order Observable with concatAll in RxJS
  • Use RxJS switchMap to Map and Flatten Higher Order Observables
  • Use RxJS mergeMap to Map and Merge High Order Observables
  • Use RxJS concatMap to Map and Concat High Order Observables
  • Use RxJS mergeMap for Fine-grain Custom Behavior
  • Split an RxJS Observable with Window
  • Split an RxJS Observable Conditionally with windowToggle
  • Split an RxJS Observable into Groups with groupBy
  • Use groupBy in Real RxJS Applications
  • Use switchMap as a Safe Default to Flatten Observables in RxJS

Taught by

André Staltz

Reviews

4.8 rating at egghead.io based on 199 ratings

Start your review of Use Higher Order Observables in RxJS Effectively

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.