Conquering Time with Functional Reactive Programming
summary
Treats events as sequences and uses RxJS observables to replace ad hoc listeners and promise-only flows with composable pipelines; examples include counting right-side clicks with fromEvent → filter → take → subscribe, a Wikipedia autocomplete that throttles, deduplicates and uses switchLatest drops stale responses to keep results consistent, a drag-and-drop built from mouseDown/mouseMove/mouseUp streams, and testable timing via schedulers let tests simulate async while Rx composes operators into a single efficient loop.
AI-written summary · about
chapters (12)
- 0:00Intro
- 2:13Time
- 4:13Events
- 7:27State
- 11:35Promises
- 16:38Functional Reactive Programming
- 21:44Observable
- 23:13Observer Pattern
- 23:54Code
- 31:38Observables
- 32:13Sequences
- 37:41Things to take away
related talks
37mStreaming and event-based programming using FRP and RxJS
42mReactive JavaScript with RxJS
27mWhy should You Care about Functional Reactive Programming
38mCuring your event processing blues with Rx
26mReactive Programming Future Proof Your Code
24mAdding Even More Fun to Functional Programming With RXJS
41mAsynchronous JavaScript
30mAsynchronous JavaScript
