useDebounce
Delays the execution of a function by a given amount of time since the last time the debounced function was called.
Installation
npm install @thewebforge/usewordpress bun add @thewebforge/usewordpress pnpm install @thewebforge/usewordpress yarn add @thewebforge/usewordpressArguments
| Argument | Type | Description |
|---|---|---|
| function | function | |
| delay | number | |
| dependencies | object |