Skip to content

xstate@6.0.0-alpha.8

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Jun 18:12
· 0 commits to main since this release
125db18

Patch Changes

  • 667d1c7: Done transitions now receive output directly in callback arguments.

    invoke: {
      src: fetchUser,
      onDone: ({ output }) => {
        output.name;
      }
    }

    The direct output value is only provided for XState done events, such as
    xstate.done.actor.* and xstate.done.state.*.