Skip to content

useDebounce

Delays the execution of a function by a given amount of time since the last time the debounced function was called.

Installation

Terminal window
npm install @thewebforge/usewordpress

Arguments

ArgumentTypeDescription
functionfunction
delaynumber
dependenciesobject

Returns