Skip to content

Commit

Permalink
Declassify State (#4443)
Browse files Browse the repository at this point in the history
* Declassify `State`

* add changeset
  • Loading branch information
Andarist authored Nov 10, 2023
1 parent 15c786b commit 18862e5
Show file tree
Hide file tree
Showing 25 changed files with 354 additions and 279 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-pens-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'xstate': major
---

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

0 comments on commit 18862e5

Please sign in to comment.