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

latest releases: @xstate/svelte@3.0.5, @xstate/vue@3.1.4, @xstate/store@2.6.0...
pre-release10 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.