xnimorz/use-debounce
A debounce hook for react observed · 2026-08-28
Health v2 · maintenance only
71/100
- Activity 96
- Release rhythm 21
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 161.5
- age_days: 2854
- days_rel: 366
- days_push: 28
- n_releases_24m: 3
Adoption not part of the score
3384 stars · 120 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A small (<1 Kb) React hooks library providing useDebounce, useDebouncedCallback, and useThrottledCallback. It is lodash-compatible, tree-shakeable, TypeScript-typed, and server-rendering friendly.
Use cases
- debounce a value in a react component
- debounce http requests as user types in a search input
- debounce callbacks with cancel and maxWait options
- throttle event handlers like scroll or resize in react
- avoid re-rendering on every keystroke in a controlled input
When to choose
- you use React and need lightweight debouncing or throttling hooks
- you want lodash-compatible semantics with cancel, flush, and maxWait support
- you need SSR-friendly, tree-shakeable, typed hooks
When to avoid
- you are not using React
- you need general-purpose debouncing outside of React components
- you need advanced scheduling beyond debounce/throttle
Facets
library · maturity stable
web-framework developer-tools web-development frontend developer-tools cross-platform react react-hooks debounce throttle typescript npm-package nodejs web-server
2 sources
- readme: https://github.com/xnimorz/use-debounce · fetched 2026-08-28 · 74258fc52c1b
- registry_npm: https://registry.npmjs.org/use-debounce · fetched 2026-08-29 · b130c862f41b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| xnimorz/use-debounce | main | 71 |
For agents
markdown · JSON · MCP: product_card(name="xnimorz/use-debounce")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem