~/talk

setState Machine

Talkat React Amsterdam 2018 · 2018-04-12..04-14· [frontend-architecture, react]

Statecharts replace brittle flag logic with a deterministic model, implemented here using X State and a thin layer called react automata that wires actions to component methods. Examples: an infinite‑scroll that attaches/detaches handlers and guards fetches correctly, and a calculator built with no nested flags. Tests are autogenerated snapshot tests that traverse every state. A cited experiment finds about 80% fewer bugs when using statecharts, and the examples function as described.

AI-written summary · about

  1. 0:00Start
  2. 1:39Infinite Scroll
  3. 4:47Bottom-up
  4. 6:20Automata Theory
  5. 9:46Statecharts
  6. 22:40Benefits
  7. 24:49Takeaways
~/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.