StateManagerInitArgs
Overview
Type: interface
Callback arguments provided in the .init callback / lifecycle hook.
Properties
currentState— The current state.
Type:anydefaultState— The default state.
Type:anycommit— Commits the state persisted from other sources such as thelocalStorage.
Type:FunctioncommitNoop— Skips committing the state and lets the State Manager know that initialization has completed.
Type:Function