State Machines On The Edge
summary
A live demo builds a checkout state machine, serializes it to a cookie, and runs it on the edge so HTTP stays stateless while preserving back/forward navigation. It uses serialize machine to a cookie, async interpret + waitFor predicate with a 3s timeout and xdate tags for pause states, maps those pause states to routes, sends events as form data via remix, and shows it working with JavaScript disabled and CSS confetti on final order.
AI-written summary · about
chapters (6)
- 0:00Start
- 1:10State Machines on the Frontend
- 1:54State Machines on the Backend
- 3:57The Halting Problem
- 7:20Architecture
- 11:28Loaders and Actions








