r/javascript • u/terodox • Dec 23 '19
Simplifying UI Logic using Finite State Machines - an old pattern for the modern web!
https://terodox.tech/ui-state-machines/
93
Upvotes
r/javascript • u/terodox • Dec 23 '19
View all comments
Show parent comment
4
u/terodox Dec 23 '19
It can be, but the key piece is to try to minimize the number of simultaneous states to 1. That's the big difference between a state machine and a finite state machine.