Download Latest Version xstate@5.26.0 source code.tar.gz (2.7 MB)
Email in envelope

Get an email when there's a new version of XState

Home / xstate@5.26.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-01-26 609 Bytes
xstate@5.26.0 source code.tar.gz 2026-01-26 2.7 MB
xstate@5.26.0 source code.zip 2026-01-26 3.0 MB
Totals: 3 Items   5.7 MB 0

Minor Changes

  • #5406 703c3a1 Thanks @davidkpiano! - Add getNextTransitions(state) utility to get all transitions available from current state.

    ```ts import { getNextTransitions } from 'xstate';

    // ...

    const state = actor.getSnapshot(); const transitions = getNextTransitions(state);

    transitions.forEach((t) => { console.log(Event: ${t.eventType}, Source: ${t.source.key}); }); ```

Source: README.md, updated 2026-01-26