Better Async with Redux Saga
summary
Explains why Mapbox moves async control into generator functions so sagas can pause resume and accept injected values, demonstrates concrete Saga effects like take/put/delay helpers handling a login flow, shows how sagas avoid race conditions (logout during login) and how tests step through yields synchronously, and claims a practical toolbox of 25–30 helper functions for forking composing and orchestrating effects so complex async flows stay testable and controllable.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:39Generator Functions
- 4:24Redux Saga
- 6:36Code Example
- 8:37Redux Comparison
- 11:22Risk Conditions
- 13:45Generator Manipulation
- 15:22Testing
related talks
21mLet's Sync the Async- A Primer on Redux Sagas
19mHandling Side Effects in Redux With Redux-Saga
27mKeep Your Sanity with Redux Sagas
41mRedux Saga, the Viking way to manage side effects
42mRedux-Saga — Generators, Side Effects, Channels
45mPushing it to the edge
54mThe Saga of yield: Hidden Capabilities
46mDo This, Not That! Side-Effect Management in UIs
