What are Observables and why should I care?
summary
Observable represents a collection of values delivered over time and Rx (RxJS/RxJava) makes them practical: demos include a working stopwatch, a typeahead that cancels stale queries, a Wikipedia edit stream and an Angular 2 polling example. The talk shows concrete operators and effects: switchMap cancels in‑flight requests, debounce and distinctUntilChanged cut redundant AJAX and keystroke noise, and publish/refCount share one live connection to avoid duplicated requests. Examples run end‑to‑end and unsubscribing reliably cleans up timers and sockets.
AI-written summary · about
chapters (12)
- 0:00What are Observables
- 5:17Why should I care
- 5:48Observables
- 10:43Map
- 17:16Typeahead
- 22:27Flatten
- 23:17Flatmap
- 23:49MergeMap
- 26:32Demo
- 31:45Cold Observables
- 37:27Typehead Observables
- 42:39Improved Observables
related talks
28mWatch out: observers are here to stay
53mRxJS Observables in Angular
41mDeep Dive into RxJS Observables
34mObservables for Handling Asynchrony Elegantly
32mI'm Watching You: A Tale of Observables
17mTry not to lose your marbles with RXJS
42mReactive JavaScript with RxJS
26mComparing Promises, Observables, and Signals
