Skip to main content

StateManagerLifecycle

Overview

Type: interface

Lifecycle hooks for the State Manager.

Properties

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