Skip to content

Releases: statelyai/xstate

[email protected]

12 Jan 18:45
3b43d84
Compare
Choose a tag to compare

Patch Changes

@xstate/[email protected]

12 Jan 18:45
3b43d84
Compare
Choose a tag to compare

@xstate/[email protected]

12 Jan 18:45
3b43d84
Compare
Choose a tag to compare

@xstate/[email protected]

12 Jan 18:45
3b43d84
Compare
Choose a tag to compare

@xstate/[email protected]

12 Jan 18:45
3b43d84
Compare
Choose a tag to compare

@xstate/[email protected]

12 Jan 18:45
3b43d84
Compare
Choose a tag to compare

[email protected]

24 Dec 19:13
e754939
Compare
Choose a tag to compare

Patch Changes

  • #5139 bf6119a7310a878afbf4f5b01f5e24288f9a0f16 Thanks @SandroMaglione! - Make spawn input required when defined inside referenced actor:

    const childMachine = createMachine({
      types: { input: {} as { value: number } }
    });
    
    const machine = createMachine({
      types: {} as { context: { ref: ActorRefFrom<typeof childMachine> } },
      context: ({ spawn }) => ({
        ref: spawn(
          childMachine,
          // Input is now required!
          { input: { value: 42 } }
        )
      })
    });

@xstate/[email protected]

24 Dec 19:14
e754939
Compare
Choose a tag to compare

@xstate/[email protected]

24 Dec 19:14
e754939
Compare
Choose a tag to compare

@xstate/[email protected]

24 Dec 19:13
e754939
Compare
Choose a tag to compare