~/talk

Mastering UIs with Finite State Machines

TalkinSpanishat JSDayES 2018 · on Saturday, 2018-10-20· [frontend-architecture, component-design]

Explains using Mealy finite state machines (deterministic, pure, idempotent automata) as an architecture for UI components to avoid lots of if/else, hacks and side effects. Shows how FSMs solve problems like handling async button double-clicks, repeated resource fetches, and mapping UX mockups to app scenes, enabling more predictable components and autogenerated tests.

AI-written summary · about

  1. 0:00Welcome
  2. 3:15Finite state machines intro
  3. 9:59Bottom-up UI problems
  4. 17:00Practical FSM demo
  5. 22:13FSM benefits
  6. 26:12Hierarchical FSMs
  7. 33:30FSM in Curiosity & industry
  8. 35:17Q&A
~/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.