Interface TransitionStateHookFn

The signature for Transition State Hooks.

A function which hooks into a lifecycle event for a specific state.

Transition State Hooks are callback functions that hook into the lifecycle events of specific states during a transition.
As a transition runs, it may exit some states, retain (keep) states, and enter states.
As each lifecycle event occurs, the hooks which are registered for the event and that state are called (in priority order).

Transition State Hooks are callback functions that hook into the lifecycle events of specific states during a transition.
As a transition runs, it may exit some states, retain (keep) states, and enter states.
As each lifecycle event occurs, the hooks which are registered for the event and that state are called (in priority order).