Skip to content
Version: xstate@5.0.0

StateNode.type property​

The type of this state node:

  • 'atomic' - no child state nodes - 'compound' - nested child state nodes (XOR) - 'parallel' - orthogonal nested child state nodes (AND) - 'history' - history state node - 'final' - final state node

Signature:

type: 'atomic' | 'compound' | 'parallel' | 'final' | 'history';