StateUpdater: (<TValue>(this: void, path: StatePath, newValue: TValue, oldValue: TValue) => void)
Type declaration
-
- <TValue>(this: void, path: StatePath, newValue: TValue, oldValue: TValue): void
-
Parameters
-
this: void
-
path: StatePath
-
newValue: TValue
-
oldValue: TValue
Returns void
Component state updater signature.