David Khourshid
David Khourshid
The biggest changes: - ~~`ObservableActorRef`~~ is removed - **`interpret` now works with any `Behavior`: `interpret(behavior)`** - The `Behavior` interface now has `Behavior.getSnapshot`, which is important for determining which "state" should...
[@xstate/graph][@xstate/test] Add support for `initialState`; add `testModel.getShortestPathsFrom()`
This PR adds support for generating paths from a specific initialState rather than the machine's default initial state. The use-case for this is for custom path generation, where a dev...
V5 (WIP)
This PR is a placeholder PR for the ongoing V5 work.
For more info, see the RFC: https://github.com/statelyai/rfcs/pull/8 This is a bit of a revival of @mattpocock's PR: https://github.com/statelyai/xstate/pull/2783
This PR removes `strict: true` behavior.
This PR improves the templates to use a new `timeMachine` that fetches the current time and assigns it to `context`: ```ts const timeMachine = createMachine( { id: 'time', initial: 'idle',...
This PR deprecates the `send()` action creator in favor of `sendTo()` and `raise()`.
This PR improves target resolution: - Targeting sibling nodes from the root is no longer valid, since the root node has no siblings ```diff createMachine({ id: 'direction', initial: 'left', states:...