David Khourshid
David Khourshid
You can now strongly type `meta` on state nodes and transitions via `stateMeta` and `transitionMeta` respectively: ```ts import { createMachine } from 'xstate'; const machine = createMachine({ types: { stateMeta:...
The `stateNode` where an action or guard originates can now be read in the action or guard's provided implementation, or inline: ```ts const machine = createMachine({ initial: 'idle', states: {...
This PR introduces an `actor.reset(persistedState?)` method to reset an actor, either to its original initial state or a specified state. This can be a mechanism for actor supervision, where a...
Option A pretty please 🎁 Apologies about the initial event misunderstanding - I thought the initial state was the state machine before any init action had gone in, since I...
Makes sense, thanks for letting us know about the fix @Andarist and @davidkpiano . Just my two cents because I have no idea what the original bug was - perhaps...