| Name | Modified | Size | Downloads / 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
703c3a1Thanks @davidkpiano! - AddgetNextTransitions(state)utility to get all transitions available from currentstate.```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}); }); ```