Pushing it to the edge
summary
Claim: represent all side effects as plain data and run them with a small runtime so core logic stays pure and fully testable. Uses ES6 generators to yield effect objects like call/take/put effects, a runtime that performs those effects and returns results, and the Redux Saga library as the full implementation. Tests step iterators and inject values instead of mocking behavior. Demoed a slow-print example reading stdin and outputting characters with 50ms delays.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:39Create a Component in React
- 2:01Functional Stateless Components
- 6:56Redux
- 24:48Generators
- 38:47Redux Saga
- 43:27Async Await
related talks
19mHandling Side Effects in Redux With Redux-Saga
41mRedux Saga, the Viking way to manage side effects
27mKeep Your Sanity with Redux Sagas
31mThe World Beyond Components
21mBetter Async with Redux Saga
06mLightning talk from Darpan Kakadia
46mDo This, Not That! Side-Effect Management in UIs
21mLet's Sync the Async- A Primer on Redux Sagas
