Skip to content

xstate@6.0.0-alpha.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Jun 03:29
· 0 commits to main since this release
9de1530

Major Changes

  • 297f851: String target shorthand is no longer accepted for transition configs. Use the object form with target instead:

    createMachine({
      initial: 'idle',
      states: {
        idle: {
          on: {
            start: { target: 'active' }
          }
        },
        active: {}
      }
    });