{"adoption": {"forks": 2768, "observed_at": "2026-08-28T04:11:09.023270+00:00", "stars": 14982}, "canonical_url": "https://ross.abutalabs.com/products/hooks", "card": {"archived": false, "artifact_type": "library", "description": "A high-quality & reliable React Hooks library.   https://alibaba.github.io/hooks/", "domain": ["frontend", "web-development", "developer-tools"], "enriched": true, "function": ["state-management", "http-client", "form-handling", "developer-tools"], "health_score": 96, "homepage": "https://ahooks.js.org/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["alibaba/hooks"], "name": "alibaba/hooks", "platform": ["cross-platform"], "pushed_at": "2026-08-09T11:13:20+00:00", "repo": "alibaba/hooks", "stars": 14982, "tags": ["react-hooks", "ahooks", "typescript", "ssr", "use-request", "nodejs", "web-server"], "topics": ["ahooks", "react", "hooks-library", "umi-hooks", "react-hooks"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/hooks", "repo": "alibaba/hooks", "role": "main", "score": 86}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:11:09.023270+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:06:47.407705+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9395574c02f690382183c2d4aaa40ae24618331d25e158c6a177e5f4f49145a", "fetched_at": "2026-08-28T04:11:09.023270+00:00", "kind": "readme", "missing": false, "url": "https://github.com/alibaba/hooks"}, {"content_hash": "0b5c4f8f1c823702c7fe3eac985bdc755c405d37ed2b7270af408e6677dd0404", "fetched_at": "2026-08-29T08:05:03.491187+00:00", "kind": "homepage", "missing": false, "url": "https://ahooks.js.org/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 64}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2624, "days_push": 24, "days_rel": 163, "gap_med": 44.5, "n_releases_24m": 9}, "score": 86, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}