~/talk

Taming UI complexity with Typed State Machines

Talkat JSHeroes 2019 · on Friday, 2019-04-12· [typescript, frontend-architecture]

Claim: TypeScript types can enforce transitions at compile time so illegal FSM moves fail to compile. Demonstration builds a proof‑of‑concept type-machine library that encodes per‑state models and transition payloads and refuses invalid events, compares behavior to XState and Redux, and ships adapters for React/Vue/KOA plus CLI examples. Implementation compiles and demos run, is open source and useful for prototypes but is explicitly not production‑ready.

AI-written summary · about

  1. 0:00Intro
  2. 0:53Who am I
  3. 2:06What are state machines
  4. 4:30JavaScript implementations
  5. 6:07Data model
  6. 8:36Model by state
  7. 10:09Restricting transitions
  8. 12:05Type Machine
  9. 17:55Conclusion
~/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.