~/talk

Coding Complex App Logic, Visually

Talkat Øredev 2022 · 2022-11-08..11-10· [frontend-architecture, component-design]
slides:none on file

Claim: modeling app flow as state machines avoids impossible boolean combos and lets code generate docs and tests. Demonstration builds a Lego checkout demo with XState, uses XState inspect to sync live visualization to the running app, runs shortest‑path to auto‑produce checkout scenarios and view steps, and exports state logic from stately.ai editor into working React code. Examples include PayPal shortcut and a fullscreen video player that returns to mini after 2s, both functioning end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 3:14Why application logic becomes complex over time
  3. 7:04Visual formalisms
  4. 10:37Tower of Babel in teams
  5. 13:48State machines for teams
  6. 17:40Implementing state machines
  7. 20:10Introducing XState
  8. 24:03Tests and docs from state machines
  9. 29:44State charts vs spaghetti logic
  10. 31:53Demo: state machine from scratch
  11. 36:26Visual programming benefits
  12. 39:00Future of development
~/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.