~/talk

State machines for frontend state management

Talkat JSFoo Coimbatore 2019 · on Saturday, 2019-06-08· [frontend-architecture]
name:Tejesh P
links:none on file
slides:none on file

Demonstrates that finite state machines replace tangled ifs by exposing the actual transitions: a 2D side‑scroller input model and a dashboard filter system (6 buttons -> 31 states if modeled naively) get refactored into explicit states and guards. Implements a tiny custom interpreter plus examples using XState, yields a time‑travel logger and simpler debugging, reuses actions across states, and shows the approach working end‑to‑end on DOM-driven examples.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Example
  3. 4:58State Machines
  4. 10:58Dashboard
  5. 16:10Model
  6. 19:06XState
  7. 21:44Default State
~/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.