Re:Statecharts: hierarchical state machines
by c01nd01r on Sunday April 26, 2026 @11:08AM
(#47910942)
With all respect to xstate, if you don't need complex nested state machines, you should check out robot3.js. The automatic TS type inference makes it pretty handy for the spots where you want a bit of state machine logic.
[ Parent
| on HN ]
Re:Statecharts: hierarchical state machines
by davidkpiano on Sunday April 26, 2026 @11:32AM
(#47911122)
There is also @xstate/store for simple event-driven stores and atoms; just as simple as Zustand + Jotai: https://stately.ai/docs/xstate-store