~/talk

setState demystified

Talkat ReactJS Day 2017 · on Friday, 2017-10-06· [react, developer-experience, testing]

Claim: setState handles most app needs if used correctly, and Redux is often premature. Demonstrates pitfalls (batched updates, non-merged object replacement, mutating this.state), shows patterns and tools: extract updaters into pure functions and test them, lift state up or use react-fetching, react-broadcast, react-lumberjack, t-redux for specific cases. Builds examples of container/presentational components, HOCs for data fetching, a reducer-in-component pattern and working time‑travel logging, all of which run and simplify real code.

AI-written summary · about

  1. 0:00Start
  2. 14:25Container and Presentational
  3. 17:49Composition
  4. 26:44Recap
  5. 27:56Requirements
  6. 29:35Know your tools
~/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.