Repository navigation
@xstate/store@5.0.0-alpha.8
Pre-release
Pre-release
·
15 commits
to main
since this release
Major Changes
-
d2c518b: The event in the initial
@xstate.transitioninspection record is{ type: 'xstate.init' }(previously{ type: '@xstate.init' }). Events use thexstate.prefix;@xstate.is reserved for inspection record and effect types.store.inspect((inspectionEvent) => { - if (inspectionEvent.event.type === '@xstate.init') { + if (inspectionEvent.event.type === 'xstate.init') { // initial snapshot } });