Skip to content

xstate@6.0.0-alpha.73

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 18:55
· 16 commits to next since this release
2ee15f5

Patch Changes

  • 6ef5f1f: Async logic that resolves null now reports null as its output instead of undefined. Rejecting with null likewise reports null as the error.

    const logic = createAsyncLogic({ run: async () => null });
    // snapshot.output === null
    // parent receives { type: 'xstate.done.actor', output: null, ... }