~/talk

SetState, We Need to Talk!

Talkat React Advanced 2021 · 2021-10-22..10-23· [frontend-architecture, react]
slides:none on file

Argues finite state machines remove unpredictable UI bugs by centralizing logic, demonstrates a small login form refactor into an explicit state machine that runs correctly in the demo, and shows race conditions disappear when the UI can only be in one state. Counts the combinatorial problem — 2^3 = eight possible permutations — to justify the change. Recommends trying xtate for minimal boilerplate, models states like isLoading and transitions like submit_form for clarity.

AI-written summary · about

  1. 0:00Start
  2. 8:19Planning
  3. 15:53Race Conditions
  4. 16:21Developer Designer Collaboration
~/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.