Front-end state management with Xstate - Amy Pellegrini
Handling user behaviour and web application state can be difficult given the unpredictable nature of human actors, and the cascade of potential side effects caused by user interactions with a user interface.
By applying the concept of state machines to the front-end, we can bring a formalised approach to deal with these challenges effectively, and impose constraints that will eliminate potential side effects.
http://www.thoughtworks.com/