StateUpdater: (<TValue>(this: void, path: StatePath, newValue: TValue, oldValue: TValue) => void)

Type declaration

    • <TValue>(this: void, path: StatePath, newValue: TValue, oldValue: TValue): void
    • Component state updater signature.

      Type Parameters

      • TValue

        Updated value type

      Parameters

      • this: void
      • path: StatePath

        Updated state node path.

      • newValue: TValue

        New value.

      • oldValue: TValue

        Replaced value.

      Returns void

Generated using TypeDoc