Cool RxJS Tricks
summary
Dives straight into working RxJS pipelines using RxJS 4 and a JSON server mock of the GitHub API, demonstrating concrete operators: merge/concat/zip for parallel combines, flatMap with maxConcurrent to limit to five concurrent repo XHRs, a 1s rate limiter, and a retry-with-backoff that handles a 2% injected 500/timeout failure rate. Builds progress reporting via a Subject, an Ajax spinner and polling with repeatWhen/takeUntil, renders live HTML from scan/reduce totals, and the examples run successfully in the live demos.
AI-written summary · about
chapters (10)
- 0:00Introduction to RxJS
- 3:46Observables and AJAX Basics
- 8:23Combining and Chaining Requests
- 12:05Rate Limiting API Requests
- 16:08Advanced Stream Operations
- 19:13Error Handling and Retries
- 25:44Monitoring Progress and Events
- 30:54Rendering Data to the DOM
- 37:40State Management with Flux
- 40:36RxJS Best Practices and Summary








