ahooks
react hooks library

ahooks downloads ahooks version ahooks license

ahooksSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on ahooks's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of ahooks](https://npm-compare.com/img/npm-trend/THREE_YEARS/ahooks.png)](https://npm-compare.com/ahooks#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on ahooks's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of ahooks](https://npm-compare.com/img/github-trend/ahooks.png)](https://npm-compare.com/ahooks)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
ahooks428,47714,730621 kB2455 days agoMIT
README for ahooks

A high-quality & reliable React Hooks library.

NPM version NPM downloads npm npm Coverage Status gzip size Percentage of issues still open Average time to resolve an issue GitHub

English | įŽ€äŊ“中文

📚 Documentation

✨ Features

  • Easy to learn and use
  • Supports SSR
  • Special treatment for functions, avoid closure problems
  • Contains a large number of advanced Hooks that are refined from business scenarios
  • Contains a comprehensive collection of basic Hooks
  • Written in TypeScript with predictable static types

đŸ“Ļ Install

$ npm install --save ahooks
# or
$ yarn add ahooks
# or
$ pnpm add ahooks
# or
$ bun add ahooks

🔨 Usage

import { useRequest } from "ahooks";

đŸ’ģ Online Demo

Edit demo for ahooks

🤝 Contributing

$ git clone git@github.com:alibaba/hooks.git
$ cd hooks
$ pnpm run init
$ pnpm start

Open your browser and visit http://127.0.0.1:8000

We welcome all contributions, please read our CONTRIBUTING.MD first, let's build a better hooks library together.

Thanks to all the contributors:

contributors

đŸ‘Ĩ Discuss