github statelyai/xstate @xstate/vue@3.0.0-beta.6

latest releases: @xstate/vue@4.0.0, @xstate/store@2.6.1, @xstate/svelte@4.0.0...
pre-release12 months ago

Major Changes

  • #4288 cfdf754f8 Thanks @davidkpiano! - The useMachine(machine) hook now returns { snapshot, send, service } instead of { state, send, actorRef }:

    const {
    - state,
    + snapshot,
      send,
    - actorRef
    + service
    } = useMachine(machine);

Minor Changes

  • #4288 cfdf754f8 Thanks @davidkpiano! - The useInterpret(machine) and useSpawn(machine) hooks have been removed; use the useActorRef(machine) hook instead.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.