~/talk

Mastering UIs with Finite State Machines

Argues that deterministic Mealy-style finite state machines replace ad hoc if/else with a top-down model, using xstate and react-automata to decouple side effects via commands; demos a fetch component that only works once the command binding is enabled and shows error/retry, and describes VSCode telemetry as a production example. Presents automated snapshot testing by iterating states to get 70% coverage with one test, and claims FSMs can drive runtime bugs toward zero.

AI-written summary · about

  1. 0:00Introduction
  2. 5:09Bottomup approach
  3. 7:38Topdown approach
  4. 9:29Finite State Machines
  5. 12:55deterministic
  6. 13:34automata
  7. 14:38Finite state machine
  8. 21:03Conditions
  9. 21:39Automated Testing
  10. 23:56Resources
~/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.