4 ms·
Take a look at https://stately.ai/ https://stately.ai/ - https://stately.ai/docs/xstate https://stately.ai/docs/xstate State machines are kind of like fancy f
by Leftium 3y ago
Take a look at https://stately.ai/ https://stately.ai/
- https://stately.ai/docs/xstate https://stately.ai/docs/xstate
State machines are kind of like fancy flowcharts. Statecharts are even fancier state machines.
Many programs end up creating ad hoc state machines (sets of variables that represent a more complex state.)
It can be better to implement these ad hoc state machines as actual state machines.