{"library":"use-debounce","type":"library","category":null,"description":"use-debounce is a React library providing versatile hooks for debouncing values and callbacks, currently at version 10.1.1. The package maintains an active release cadence with frequent patch and minor updates. Its key differentiators include a minimal bundle size (under 1KB), compatibility with established debouncing implementations (like those in Lodash or Underscore), and robust server-rendering support. It offers the `useDebounce` hook for delaying updates to React state values and the `useDebouncedCallback` hook for throttling function executions, suitable for various interactive scenarios such as input field handling, API request optimization, and event listener management. Since version 10, server-side debouncing is opt-in via the `debounceOnServer` option, preventing unnecessary CPU utilization during SSR.","language":"javascript","status":"active","version":"10.1.1","tags":["javascript","debounce","react-hook","react","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install use-debounce","imports":["import { useDebounce } from 'use-debounce';","import { useDebouncedCallback } from 'use-debounce';","import type { DebounceOptions } from 'use-debounce';"]},{"cmd":"yarn add use-debounce","imports":[]},{"cmd":"pnpm add use-debounce","imports":[]}],"homepage":null,"github":"https://github.com/xnimorz/use-debounce","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/use-debounce","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/use-debounce/compatibility"}}