Angular & RxJS
summary
Shows a working Angular typeahead built with RxJS using FormControl.valueChanges, HTTP (observable) and router params, demonstrating map → flatMap → switchMap to turn keystrokes into URLs and responses. Uses debounce(150ms), filter(min length 3), and switchMap cancels inflight HTTP to avoid extra network cost. Assigns an observable to a component and uses async pipe subscribes and triggers change detection to render results. Highlights let operator for reusable pipelines and a real implementation in NG Bootstrap.
AI-written summary · about
chapters (8)
- 0:00Introduction to reactive Angular
- 1:10History of observables in Angular
- 3:57Composition with observables
- 8:10Building a type ahead demo
- 15:57Router as an observable stream
- 20:48Smart vs dumb components
- 25:25Future of event observables
- 27:34Q&A and resources
related talks
54mReactive Angular 2
51mReactive programming in Angular
58mAngular and The Case for RxJS
45mReactive Frontends with RxJS and Angular
53mRxJS Observables in Angular
01h 07mReactive Frontends with RxJS and Angular - Sergi Almar
20mReactive Programming with RxJS A Beginner’s Perspective
24mReactive Powered: RxJS with Angular Forms
