~/talk

Let's Sync the Async- A Primer on Redux Sagas

Talkat ReactFoo Pune 2018 · 2018-01-19..01-20· [react, frontend-architecture]

Compares Redux Sagas to Redux-thunk and shows a concrete dashboard implementation that hits getUser then lowBalance, panel and transactions APIs; uses ES6 Generators and saga effects like call vs fork and takeLatest cancels previous to control concurrency, runs three calls in parallel with all, supports task cancellation for a background sync, and tests sagas by iterating the generator and asserting yielded effect objects. Claims clearer modular code and easier testing for complex interdependent async flows.

AI-written summary · about

  1. 0:00Intro
  2. 0:14Story Time
  3. 0:59My First Attempt
  4. 1:36Why Redux
  5. 2:20Redux Architecture
  6. 3:01Redux Thunk
  7. 3:44Redux Problems
  8. 4:30Sagas
  9. 5:01Saga Effects
  10. 5:50How Generator
  11. 7:34Reducer
  12. 8:01Redux Sagas
  13. 8:26Saga Effect
  14. 9:48Take
  15. 11:22API
  16. 13:14LoadUser
  17. 15:50Fall
  18. 16:39Task Cancellation
  19. 18:31Testing
  20. 19:28Dashwood Scenario
  21. 20:28Conclusion
  22. 21:20Outro
~/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.