3 ms·
Statecharts (hierarchical state machines) for the modern web: https://github.com/statelyai/xstate#readme https://github.com/statelyai/xstate#readme https://xs
by michaelsbradley 4y ago
Statecharts (hierarchical state machines) for the modern web:
https://github.com/statelyai/xstate#readme https://github.com/statelyai/xstate#readme
https://xstate.js.org/ https://xstate.js.org/
Interactive visualizer: https://stately.ai/viz https://stately.ai/viz
- Jtsummers 4y agoIn a similar vein: https://sketch.systems https://sketch.systems
- michaelsbradley 4y agoI'm not too familiar with Sketch (have seen the name, maybe visited the site previously) but is the focus comparable, and how so? Independently of XState's visualizer and more recent IDE/plugin offerings, XState allows you to declaratively specify statecharts and fsms (vanilla JS object notation), define handlers (functions) for transitions and services, and then instantiate those machines via an interpreter provided by XState. It might not be fun to do all that, say, in a Node.js REPL, but you could.