useDebounce
Debounce a changing value, or a callback with cancel and flush controls.
ReactDebouncePerformanceCallback
- Instant
- —
- useDebounce (500ms)
- —
- useDebouncedCallback (1s, flush on blur)
- 0 saves
Install Dependencies
1npx shadcn@latest add https://ui.devsloka.in/r/use-debounce.json