Debounced
A wrapper over `useDebounce` that returns a debounced state.
Demo
Search for something above!
Usage
This is a simple wrapper over useDebounce
that
returns a debounced state.
You may cancel the pending update, run it immediately, or set a new value. Setting a new value immediately also cancels any pending updates.