Framework-specific guides for using state machines, XState, and the actor model in your favorite frontend stack.

Framework Guides

XState + React — Using useMachine, useActor, and React hooks

TypeScript — Type-safe machines, typed events, and context

Vue — Vue composables and reactive state machines

Svelte — Svelte stores and state machine integration

Vanilla JS — Using XState without a framework

Prerequisites

Next Steps

Related Pages

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Connections0

Connections show where other documents or comments link to this document.

Related documents

Loading connections…