RepositoryTypeScriptCNChina
alibaba

alibaba/hooks

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

15.0kstars
2.8kforks
65issues
4views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: ahooks

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: umi-hooks

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: react-hooks

#1 Repository Của Tuần

🪝 ahooks - Bộ công cụ React Hooks siêu mạnh từ Alibaba

Một bộ sưu tập React Hooks chất lượng cao, được viết bằng TypeScript, hỗ trợ SSR và tối ưu cho cả ứng dụng thực tế.

ahooks là một thư viện React Hooks mã nguồn mở do Alibaba phát triển, cung cấp hàng trăm hook được tinh luyện từ các kịch bản kinh doanh thực tế. Thư viện hỗ trợ SSR, được viết hoàn toàn bằng TypeScript với kiểu tĩnh dự đoán, đồng thời xử lý đặc biệt cho hàm để tránh vấn đề closure.

✨ Điểm nổi bật

  • Hỗ trợ SSR: Tương thích với các ứng dụng server-side rendering.
  • Xử lý closure thông minh: Tránh các lỗi closure phổ biến trong React Hooks.
  • Bảo trợ TypeScript: Toàn bộ thư viện được viết bằng TypeScript với kiểu tĩnh rõ ràng.
  • Hàng trăm hook nâng cao: Được tinh luyện từ các tình huống kinh doanh phức tạp.
  • Dễ học và sử dụng: API trực quan, dễ dàng tích hợp vào dự án.
  • Bộ sưu tập hook cơ bản đầy đủ: Đáp ứng nhu cầu sử dụng hàng ngày.

💡 Vì sao đáng chú ý

ahooks không chỉ là một bộ hook cơ bản, mà còn chứa đựng nhiều hook nâng cao được tối ưu từ thực tế, giúp giảm đáng kể thời gian phát triển. Đặc biệt, khả năng xử lý closure và hỗ trợ SSR giúp dự án ổn định hơn trong môi trường production.


#React #HooksLibrary #TypeScript #SSR #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

459.9k
Dec 2, 2026
RepositoryJavaScript
react/react

The library for web and native user interfaces.

253.0k
Nov 30, 2026
RepositoryTypeScript
shadcn-ui/ui

Composable, accessible components with thoughtful defaults. Build your own component library with code you can customize, extend, and make your own.

129.8k
Dec 2, 2026
RepositoryJavaScript
vercel/next.js

The React Framework

143.9k
Dec 1, 2026
RepositoryJavaScript
vercel/next.js

The React Framework

143.9k
Dec 1, 2026
RepositoryC++
react/react-native

A framework for building native applications using React

127.0k
Nov 27, 2026
RepositoryTypeScript
ant-design/ant-design

An enterprise-class UI design language and React UI library

100.5k
Dec 2, 2026
RepositoryTypeScript
storybookjs/storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation

91.8k
Nov 29, 2026
RepositoryTypeScript
ChatGPTNextWeb/NextChat

✨ Zero-config AI chat assistant. No API key needed — sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models. Pay-as-you-go saves you more. Available on Web, iOS, macOS, Android, Linux, Windows.

89.0k
Oct 20, 2026