(simple)-state-shifter: a Finite State Machine to simplify code flow
If you find business logic &/or UI flow is becoming a tangled web, with many if/else / switch statements, then consider s Finite State Machine like mine to reduce the code & help make it more legible:
(live demo linked in repo)
https://github.com/tomByrer/state-shifter
(live demo linked in repo)
https://github.com/tomByrer/state-shifter

GitHub
JS Finite State Machines made simple. Contribute to tomByrer/state-shifter development by creating an account on GitHub.
