Skip to main content

StateManagerLifecycle

Overview​

Type: interface

Lifecycle hooks for the State Manager.

Properties​

  • init — Will be invoked upon instantiation of the State Manager. Also see StateManagerInitArgs.
    Type: Function
    Required: No
  • didSet — Will be invoked each time the .set method is called, even if the actual value remains the same. Also see StateManagerDidSetArgs.
    Type: Function
    Required: No
  • didReset — Will be invoked each time the .reset method is called.
    Type: Function
    Required: No