alibaba/hooks
A high-quality & reliable React Hooks library. https://alibaba.github.io/hooks/ observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 96
- Release rhythm 64
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 44.5
- age_days: 2624
- days_rel: 163
- days_push: 24
- n_releases_24m: 9
Adoption not part of the score
14982 stars · 2768 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ahooks is a high-quality, reliable React Hooks library written in TypeScript by Alibaba. It provides a comprehensive collection of basic and advanced hooks (like useRequest and useUrlState) refined from real business scenarios, with SSR support and closure-problem avoidance.
Use cases
- manage async data fetching in React components
- sync React state to URL query params
- avoid stale closure bugs in React hooks
- debounce and throttle user input in React
- handle component lifecycle and DOM events with hooks
- build React apps with reusable stateful logic
When to choose
- you use React and want battle-tested hooks instead of writing your own
- you need SSR-compatible hooks with TypeScript types
- you want a single library covering async requests, DOM, lifecycle, and state hooks
When to avoid
- you use Vue, Svelte, or Angular rather than React
- you want a minimal bundle and only need one or two simple hooks
- your team prefers framework-native solutions like React Query for data fetching
Facets
library · maturity stable
state-management http-client form-handling developer-tools frontend web-development developer-tools cross-platform react-hooks ahooks typescript ssr use-request nodejs web-server
2 sources
- readme: https://github.com/alibaba/hooks · fetched 2026-08-28 · c9395574c02f
- homepage: https://ahooks.js.org/ · fetched 2026-08-29 · 0b5c4f8f1c82
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| alibaba/hooks | main | 86 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem