XState 6.0.0-alpha.38

6.0.0-alpha.38Pre-release
Fixed 1
  • Restoring a persisted snapshot whose state value references a state that no longer exists on the machine now throws a descriptive error with the full state path for nested states and validation for parallel state regions
Patch Changes
  • 8aaac46: Restoring a persisted snapshot whose state value references a state that no longer exists on the machine now throws a descriptive error, e.g.:

    Persisted snapshot references state 'reviewing' which does not exist on machine 'order-approval'.
    

    Nested state values report the full state path (e.g. 'active.reviewing'), and parallel state regions are validated as well.

View original

Upgraded? How did it go?

Discussion