vue 3와 사용 혹은 composition api davidkpiano/xstateJavaScript state machines and statecharts JavaScript and TypeScript finite state machines and statecharts for the modern web. 📖 Read the documentation 📑 Adheres to the SCXML specification 💬 Chat on the Stately Discord Community 🤖 xstate - Core finite state machine and statecharts library + interpreter Get started by forking one of these templates on CodeSandbox: 📉 See the visualization on xstate.js.org/viz Visualize, simulate, and share your statecharts in XState Viz!https://github.com/davidkpiano/xstateUsage with Vue | XState DocsVue follows a similar pattern to React: The machine can be defined externally; The service is placed on the data object; State changes are observed via service.onTransition(state => ...), where you set some data property to the next state; The machine's context can be referenced as an external data store by the app.https://xstate.js.org/docs/recipes/vue.html