DEV Community

Discussion on: You don't need a library for state machines

Collapse
 
sukima profile image
Devin Weaver • Edited

I started my FSM/Statechart journey rolling my own as well. I now have a go-to micro-fsm I use for personal projects. Because I followed the same object structure as above I can quickly move to XState as the logic becomes more complex. tritarget.org/Micro%20State%20Machine if anyone is interested.