Patch Changes
-
#5326
68ab6fb
Thanks @davidkpiano! - The XState Store undo/redo package can now be imported as@xstate/store/undo
.import { createStore } from '@xstate/store'; import { undoRedo } from '@xstate/store/undo'; const store = createStore( undoRedo({ context: { count: 0 }, on: { // ... } }) ); // ...