Skip to content

xstate@5.11.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Apr 14:31
· 117 commits to main since this release
9118720

Minor Changes

  • #4806 f4e0ec48c Thanks @davidkpiano! - Inline actor logic is now permitted when named actors are present. Defining inline actors will no longer cause a TypeScript error:

    const machine = setup({
      actors: {
        existingActor: fromPromise(async () => {
          // ...
        })
      }
    }).createMachine({
      invoke: {
        src: fromPromise(async () => {
          // Inline actor
        })
        // ...
      }
    });