~/talk

Reduced Redux

Talkat ReactiveConf 2018 · 2018-10-29..10-31· [react, frontend-architecture]
github:jurom
slides:none on file

Proposal: replace action objects with objects that dispatch reducers instead of actions so each dispatch carries a reducer function plus a path to a substate, and add a batch middleware composes reducer arrays to run multiple updates in a single synchronous state transition. Claim: this removes action-type boilerplate and centralizes state-change logic. Tradeoffs: functions are not serializable, but the approach is used in production in many projects (two large-scale ones cited), and performance cost of anonymous reducers is small.

AI-written summary · about

  1. 0:00Start
  2. 0:55Reduced Redux
  3. 2:03Create a Simple Counter
  4. 2:25Actions
  5. 8:22Recap
  6. 19:08Action Creator
  7. 26:19Testing
~/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.