xstate is a TypeScript finite state machines and statecharts library
published on 2023/03/28
Statecharts are a formalism for modeling stateful, reactive systems. This is useful for declaratively describing the behavior of your application, from the individual components to the overall application logic.
This should be useful when you are modeling your complex systems.