Release Notes

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: {}
      }
    });