Commit 068f2a7
authored
[@xstate/store] Snapshot undo/redo strategy (#5415)
* Add undoRedoSnapshot functionality with transaction grouping and history limit
* Add compare function to undoRedoSnapshot for skipping duplicate snapshots and enhance testing for snapshot history management
* Add strategies + changeset update
* Knip
* send -> trigger1 parent 8ec428e commit 068f2a7
File tree
3 files changed
+890
-93
lines changed- .changeset
- packages/xstate-store
- src
- test
3 files changed
+890
-93
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments