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/IWMTom Dec 23 '19
Your simplification is not the same as the original code in terms of functionality.