Skip to content
Version: xstate@5.0.0

StateNode.history property​

The type of history on this state node. Can be:

  • 'shallow' - recalls only top-level historical state value - 'deep' - recalls historical state value at all levels

Signature:

history: false | 'shallow' | 'deep';