Content
useDebounceValue
A custom hook that debounces a value, returning the value after the specified delay.
useDebounceValue
Usage
API
useDebounceValue
Parameters
Name | Type | Description |
---|---|---|
value | T | The value to debounce. |
delay | number | The debounce delay in milliseconds. |
Returns
Name | Type | Description |
---|---|---|
debouncedValue | T | The debounced value. |