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

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

Home / xstate@5.29.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-03-24 759 Bytes
xstate@5.29.0 source code.tar.gz 2026-03-24 2.7 MB
xstate@5.29.0 source code.zip 2026-03-24 3.0 MB
Totals: 3 Items   5.7 MB 0

Minor Changes

  • #5299 ca8306f Thanks @Uniqen! - Add actor.select(selector, equalityFn?) method to derive a Readable<TSelected> from an actor's snapshot. The returned object has .subscribe() (only emits when the selected value changes, using Object.is by default) and .get() for synchronous access.

    ```ts const actor = createActor(machine); actor.start();

    const count = actor.select((snap) => snap.context.count);

    count.get(); // current value

    count.subscribe((value) => { console.log(value); // only fires when count changes }); ```

Source: README.md, updated 2026-03-24