~/talk

Handling Side Effects in Redux With Redux-Saga

Talkat ReactNext 2017 · 2017-09-08..09-10· [react, frontend-architecture]
links:none on file
slides:none on file

Explains that redux-saga uses ES6 generators and yields to express async flows synchronously, demonstrates effects like takeEvery and takeLatest, call/fork/put/select/delay, shows how to cancel tasks and implement debouncing and retries, and describes testing by iterating generator steps so no promise mocking is needed. Claims it reduces nested callbacks, handles complex coordination across reducers, and recommends using redux-saga only for nontrivial async complexity.

AI-written summary · about

  1. 0:00Where is the problem
  2. 3:17How it works
  3. 6:23Superhero lips
  4. 6:43ReduxSaga
  5. 7:38Parallel Generator
  6. 7:51Simplicity
  7. 8:19Syntax
  8. 10:00Effects
  9. 13:44Cancel Saga
  10. 17:21Testing
  11. 18:19Summary
~/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.