Ross ROSS = Recommend OSS · open-source software intelligence for agents

juliencrn/usehooks-ts

React hook library, ready to use, written in Typescript. observed · 2026-08-28

github.com/juliencrn/usehooks-ts · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

67/100

  • Activity 99
  • Release rhythm 8
  • 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: n/a
  • age_days: 2331
  • days_rel: 574
  • days_push: 7
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

7851 stars · 457 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

usehooks-ts is a collection of ready-to-use React hooks written in TypeScript, covering common needs like localStorage, debounce, dark mode, event listeners, and media queries. It is dependency-free, fully tree-shakable, and extensively tested for production use.

Use cases

  • sync react state with localstorage
  • debounce a value or callback in react
  • implement dark mode toggle in react
  • detect clicks outside a component
  • track window size in react
  • copy text to clipboard in react
  • run interval or timeout hooks in react

When to choose

  • you build React or Next.js apps and want typed, tested hooks for common patterns
  • you want a tiny, tree-shakable hook library with zero dependencies
  • you want to avoid rewriting boilerplate hooks like useLocalStorage or useDebounce

When to avoid

  • your project does not use React
  • you need only one or two hooks and prefer inlining them to avoid a dependency
  • you need highly specialized hooks not covered by the library

Facets

library · maturity stable

ui-components state-management developer-tools frontend web-development developer-tools cross-platform react-hooks typescript tree-shakable react hooks-library nextjs nodejs web-server

4 sources

Member repositories

RepositoryRoleHealth v2
juliencrn/usehooks-tsmain67

For agents

markdown · JSON · MCP: product_card(name="juliencrn/usehooks-ts")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem