~/talk

Structure Your App's Story With Sagas and Selectors

Talkat React Day Berlin 2018 · on Friday, 2018-11-30· [react, frontend-architecture]
slides:none on file

Argues that structure matters: concrete choices and tradeoffs, not platitudes. Shows 50–60% of React apps use Redux, compares thunks, redux-saga organizes async flow with generators and redux-observable for complex streams, and promotes selectors and reselect memoizes selectors to keep derived data out of state. Gives real code examples (a detective list app, Joshua Cuomo’s Web Audio demo, Ivan Miranshah’s Trello clone, a Werewolf moderator) and demonstrates what was built, how it’s tested and when each tool actually simplifies maintenance.

AI-written summary · about

  1. 0:00Start
  2. 0:57What is business logic?
  3. 1:37What kinds of business logic are in the front-end?
  4. 2:46What's the problem with it?
  5. 7:28components
  6. 8:14reducers
  7. 11:10npm install reselect
  8. 13:09action creators / npm install redux thunk
  9. 17:16npm install redux-observable
  10. 18:38npm install redux-saga
~/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.