RxJS Recipes
summary
Builds a small Angular jokes app and demonstrates concrete RxJS solutions: polls every 5s with timer + exhaustMap + shareReplay to cache and restart, shows backpressure handling by only applying updates when a user clicks, emits a one-time "update available" notification by skipping the first value, manages settings with BehaviorSubject + scan for state, toggles polling via switchMap + distinctUntilChanged, and composes retryWhen with conditional online checks (retry every 1s up to 5 or wait until online). All examples run live in the demo.
AI-written summary · about
chapters (10)
- 0:00Start
- 3:24Anatomy of an Observable
- 4:28Different Levels of Patterns
- 5:36World of Jokes
- 12:11Application Architecture
- 15:39Requirement 2
- 18:54Requirement #3
- 22:45Pattern #3 Group Aggregator
- 23:06Requirement 4
- 34:08Key Takeaway's








