Interface Lifecycle<P, S>
Methods
onUpdate
- onUpdate(stateChange?: object): void
-
Parameters
-
Optional stateChange: object
Returns void
shouldUpdate
- shouldUpdate(stateChange: object, nextOpts: P): boolean
-
Parameters
-
stateChange: object
-
nextOpts: P
Returns boolean
aliases are available here