Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

StateType

XState’s kind of state, as a state’s type names it.

Atomic: "atomic"

A state with no states of its own; XState infers it.


Compound: "compound"

A state with states of its own; XState infers it.


Final: "final"

Ends its parent.


History: "history"

Goes back to the state its parent was last in.


Parallel: "parallel"

Runs each of its states at once.