The World of Statecharts
statecharts.github.io
statecharts.github.io
For those curious: XState is a JavaScript state machine/statechart library that doesn't invent any new concepts and instead adheres strictly to statechart principles and the SCXML spec.
Extremely same, but with Vue instead of React. In the last project I worked on, XState was a late addition, so it didn't control the whole application, but the part I wrote in it was bug free from the start.
My plan for any future JS/frontend project is to design the whole application's business logic around XState, and use Vue/React/Svelte/Whatever just for the rendering part.
Sorry I can't help further.
Building a smaller application is fine - but what does XState look like in an enterprise level context?
- https://news.ycombinator.com/item?id=8766319 - Statecharts: A Visual Formalism For Complex Systems (1987) [pdf]
- https://news.ycombinator.com/item?id=18483704 - Functional, stateless JavaScript finite state machines and statecharts (XState)
- https://news.ycombinator.com/item?id=15835005 - Are statecharts the next big UI paradigm?
- https://news.ycombinator.com/item?id=16606379 - More State Machine Love: From Reflection to Statecharts
- https://news.ycombinator.com/item?id=21860700 - Simpler UI Logic With Finite State Machines
- Parallel (orthogonal) states - History (shallow, deep) states - Entry, exit, transition actions - Delays - "Throughout" actions (activities) - Etc.
Check out the original paper: http://www.inf.ed.ac.uk/teaching/courses/seoc/2005_2006/reso...
https://medium.com/cleartax-engineering/enumerating-test-cas...
Surprisingly, they only recently start gaining more popularity in this field, that I see.