Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
c01nd01r
· 7mo ago · 0 comments
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.
Comments
[–]
davidkpiano
7mo ago
There is also @xstate/store for simple event-driven stores and atoms; just as simple as Zustand + Jotai:
https://stately.ai/docs/xstate-store
[–]
dkersten
7mo ago
I’m a big fan of @xstate/store!