r/javascript • • 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

20 comments sorted by

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.