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

### Description ![WX20220730-194513](https://user-images.githubusercontent.com/22050621/181909495-b3f2188e-e193-4eea-849c-6f73eedd4d74.png) 1. spawn actor in context, 2. storage ctx into indexDb 3. got error ### Expected result wish to storage whole ctx include actor into indexDb so that...

bug

### Description The nextState call is now affecting the current state and creating transisions. ### Expected result nextState should return the next state without affecting the current state of the...

bug

### Description It seems `entry` and `exit` actions are fired repeatedly when the state is entered/exited. I stumbled upon the bug somewhat accidentally and noticed an entry action running 103...

bug

### Description Working with `machine.transition()` and other implementations of `StateValue`, the type is not provided. The type safety is provided elsewhere, ie [state.matches](https://github.com/statelyai/xstate/blob/6abfc5afa7945fcb6b58cc9911bd37bec9ac573d/packages/core/src/State.ts#L318): ```typescript TSV extends TResolvedTypesMeta extends TypegenEnabled ?...

bug

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

This is an implementation of [SolidJS](https://www.solidjs.com) hooks for XState. This package was inspired by [this `useMachine` hook](https://codesandbox.io/s/xstate-solid-example-dgpd7?from-embed=&file=/useMachine.js) created by @ryansolid. I've leveraged SolidJS' store and signal (along with the `reconcile`...

**Description** XState inspector is slow with large context objects A trace is attached. The active machines on the page have contexts that `JSON.stringify()` to the following lengths: ``` { "main":...

🔎 @xstate/inspect