Integration: Vue
Integration: Vue
Use XState state machines with Vue 3 composables.
Overview
XState integrates with Vue through @xstate/vue or custom composables, connecting machines to Vue's reactive system.
Key Concepts
useMachine(machine)composableuseActor(actor)for existing actorsReactive state subscription
Component lifecycle management
Prerequisites
Related Pages
Vanilla JS — Lower-level patterns
TODO
Add Vue 3 composable examples
Add Pinia integration pattern
Add Vue Router integration
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime
Powered by Seed HypermediaOpen App