github statelyai/xstate xstate@5.0.0-beta.42

latest releases: @xstate/vue@4.0.0, @xstate/store@2.6.1, @xstate/svelte@4.0.0...
pre-release12 months ago

Major Changes

  • #4438 7bbf41d7d Thanks @Andarist! - Removed State#toStrings method.

  • #4443 18862e53c Thanks @Andarist! - State class has been removed and replaced by MachineSnapshot object. They largely have the same properties and methods. On of the main noticeable results of this change is that you can no longer check state instanceof State.

  • #4444 d6e41a923 Thanks @Andarist! - Removed mapState utility function.

Minor Changes

  • #4440 10d95393a Thanks @Andarist! - State.from, StateMachine#createState and StateMachine#resolveStateValue were removed. They largely served the same purpose as StateMachine#resolveState and this is the method that is still available and can be used instead of them.

Don't miss a new xstate release

NewReleases is sending notifications on new releases.