xstate icon indicating copy to clipboard operation
xstate copied to clipboard

Actor-based state management & orchestration for complex app logic.

Results 337 xstate issues
Sort by recently updated
recently updated
newest added

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....

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',...

### Description When using @xstate/test@alpha with Playwright, if assertion errors are thrown, additional information from @xstate/test about paths that failed won't be logged by Playwright (the state in which assertions...

bug
⚗️ @xstate/test

### Description When using a choose action in the entry action on the root of a machine, I get the following error Curiously, when I add a choose action later...

bug
typescript

### Description When a machine has a context type, attempts to use assign with literal values doesn't work. Visualizer code for reference: ```typescript import { createMachine, assign } from 'xstate';...

bug

Hello 👋 This PR makes possible to add an `every` event that will trigger an event/transition recurrently after each period. ``` const lightPeriodsMachine = createMachine({ id: 'lightPeriod', initial: 'green', context:...

**Description** When explicitly starting the machine via the interpreter from a state which defines an invocation, the machine does not transition from that state, regardless of the outcome -resolve or...

core