Rezi
    Preparing search index...

    Function useDebounce

    • Return a debounced copy of a value.

      The returned value updates only after delayMs has elapsed without a new input value. Non-positive or non-finite delays apply on the next effect pass.

      Type Parameters

      • T

      Parameters

      • ctx: DebounceHookContext
      • value: T
      • delayMs: number

      Returns T