~/talk

Keep Your Sanity with Redux Sagas

Talkat React Day Berlin 2017 · on Saturday, 2017-12-02· [react, testing]
slides:none on file

Explains how Redux Saga uses ES6 generator functions and the saga middleware to sequence side effects, showing a concrete example that calls the SWAPI via fetch, yields a call then a put to dispatch results, and wires the saga with takeLatest/takeEvery so actions spawn or replace sagas. Demonstrates testing by iterating the generator with .next and asserting returned effect objects, notes support for cancellation, parallelism, channels, and that the two-effect example works as shown.

AI-written summary · about

  1. 0:00Start
  2. 3:07Basic Thunk
  3. 3:46Basie- Advanced Thunk
  4. 7:56Generators
  5. 10:52Sagas vs Middleware
  6. 11:23Saga Effects
  7. 16:48Connect Generator ACTIONS
  8. 17:12Saga Helpers
  9. 19:37Implementation Recap
  10. 23:04Saga Example
  11. 23:38Basic Testing
  12. 25:05Testing Recap
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.