github statelyai/xstate @xstate/svelte@5.0.1

Patch Changes

  • #5811 6a7fa79 Thanks @ybai08! - The snapshot store returned by useActor(…) now reads the actor's current snapshot whenever it gains its first subscriber. Before, if the actor changed while nothing was subscribed to the store (for example, while the only component reading $snapshot was unmounted), the store kept showing the old snapshot until the next change. useSelector(…) already worked this way.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.