StateType
XState’s kind of state, as a state’s type names it.
Enumeration Members
Section titled “Enumeration Members”Atomic
Section titled “Atomic”Atomic:
"atomic"
A state with no states of its own; XState infers it.
Compound
Section titled “Compound”Compound:
"compound"
A state with states of its own; XState infers it.
Final:
"final"
Ends its parent.
History
Section titled “History”History:
"history"
Goes back to the state its parent was last in.
Parallel
Section titled “Parallel”Parallel:
"parallel"
Runs each of its states at once.