alibaba/hooks

A high-quality & reliable React Hooks library. https://alibaba.github.io/hooks/

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 22 minutes ago
Added to GitGenius on September 3rd, 2026
Created on June 27th, 2019
Open Issues & Pull Requests: 130 (+0)
GitHub issues: Enabled
Number of forks: 2,770
Total Stargazers: 14,975 (+0)
Total Subscribers: 89 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.6 days
Mean response time: 57.9 days
90th percentile: 161.2 days
Tracked items: 274

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 98% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 5% of issues opened in the past year have been closed. Three people close 69% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 65
New in 7 days: 1
Closed in 7 days: 2
Avg open age: 582 days
Stale 30+ days: 63
Stale 90+ days: 60

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • feature (38)
  • pr welcomed (30)
  • v4 (20)
  • help wanted (16)
  • bug (11)
  • 🤔 Need Reproduce (10)
  • question (8)
  • needs more info (5)

Most active issues this week

Detailed Description

ahooks is a React Hooks library that provides a collection of reusable hooks for building React applications.

The library addresses the need for reliable, well-tested hooks that handle common patterns and edge cases in React development. It offers both basic hooks for fundamental operations and advanced hooks extracted from real business scenarios. The project includes special handling for function closures, a known source of bugs in hook-based code, and provides full TypeScript support with static type safety. The library supports server-side rendering, making it suitable for applications that require both client and server rendering.

Developers should choose ahooks if they want to reduce boilerplate and avoid reimplementing common patterns across projects. It suits teams building applications with React who want production-ready hooks rather than writing custom solutions. The library is particularly valuable for those working on complex applications where the advanced hooks derived from business use cases can accelerate development. The project maintains comprehensive documentation in both English and Chinese, with an online demo environment for exploring functionality.

The project maintains active engagement with contributors through a formal contribution process and welcomes community participation. Development activity shows consistent refinement of the hook collection based on real-world usage patterns. The codebase is written entirely in TypeScript, reflecting a commitment to type safety and developer experience. The project has established clear communication channels for discussion and maintains organized documentation alongside the code.