The visual future of reactive applications with statecharts
summary
Shows a concrete claim: modeling UI logic as explicit statecharts yields automatically generated visualizations and exhaustive path-based tests instead of ad hoc booleans. Implements examples with XState, a live visualizer, and a actor model demo, turning a click-heavy fetch button into a single-state-safe flow, generating all simple paths for integration testing, using entry/exit/transition actions and timeouts, hooking into analytics for adaptive flows, and citing real-world usage like the Mars Curiosity codebase.
AI-written summary · about
chapters (48)
- 0:00Introduction
- 1:00Common problem
- 2:10Time
- 3:02Code example
- 4:12The bottomup approach
- 5:17The problem with this approach
- 6:40Finite state machines
- 9:31Switch case statement
- 13:33XState
- 14:50Cal Shear
- 15:17State Machine
- 19:01Does this scale
- 19:21State explosion problem
- 22:41Extended State
- 23:38Nested States
- 24:33Hierarchical States
- 26:33Orthogonal States
- 27:52Parallel States
- 28:35State Values
- 29:15New Visualization Tool
- 29:43Verifying States
- 31:10Integration Testing
- 35:59Determinism
- 37:42Adaptive user interfaces
- 38:11Transition analytics
- 38:29Adaptive apps
- 38:59Analytics
- 40:28Example
- 42:17Decision trees
- 42:50Analytics in the interpreter
- 43:23X8 graph
- 43:54Reinforcement learning
- 45:12Redux
- 45:32Actor model
- 46:37Observables
- 47:12UseMachine
- 47:39FSM
- 48:02Gatsby
- 48:29SE XML
- 49:08Mars Curiosity Rover
- 49:33Disadvantages
- 50:01Complexity
- 50:29Resources
- 50:39Make your code do more
- 50:58Thank you
- 51:10Questions
- 51:28Practical use
- 52:27What is XState
related talks
29mReactive State Machines and Statecharts
21mReactive State Machines and Statecharts
37mReactive State Machines and Statecharts
22mMake legacy code delightful with statecharts
34mSimplifying Complex UIs with Finite Automata & Statecharts
42mTackle React component complexity using Reactive Statecharts
27mMaking Application Logic Visually Collaborative
27mXState: the Visual Future of State Management
