News for hackers. Stuff that matters.
Re:Xstate: State machines and statecharts for the modern web by tobr on Monday March 27, 2023 @04:20PM (#35331892)
Hello! I’ve looked at XState a bunch of times but always felt it seemed very involved for what it does. A simple “vanilla” state machine isn’t particularly complicated.

Are you sure you need to bring “even more features”, or rather, what are your thoughts on how feature-rich a state machine library needs to be?

Re:Xstate: State machines and statecharts for the modern web by julenx on Monday March 27, 2023 @05:12PM (#35332716)
For vanilla state machines there's also @xstate/fsm. In their docs[1] you have a feature comparison.

[1] https://xstate.js.org/docs/packages/xstate-fsm/