Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkpiano committed Feb 22, 2020
1 parent c3cf736 commit 55aa589
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/tall-beans-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'xstate': minor
---

The machine can now be safely JSON-serialized, using `JSON.stringify(machine)`. The shape of this serialization is defined in `machine.schema.json` and reflected in `machine.definition`.

Note that `onEntry` and `onExit` have been deprecated in the definition in favor of `entry` and `exit`.

0 comments on commit 55aa589

Please sign in to comment.