Skip to content

yangfengyi/hooks

 
 

Repository files navigation

English | 简体中文

ahooks

React Hooks Library.

NPM version NPM downloads

📚 Document

✨ Features

  • Easy to learn and use.
  • Contains a wealth of advanced Hooks that are refined from the app.
  • Contains a wealth of basic Hooks.
  • Written in TypeScript with predictable static types.

📦 Install

npm i ahooks --save

🔨 Usage

import { useRequest } from 'ahooks';

🖥 Development

$ git clone [email protected]:alibaba/hooks.git
$ cd hooks
$ npm run init
$ npm start

Open your browser and visit http://127.0.0.1:8001 , see more at Development.

🤝 Contributing

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

👥 Discuss

✅ License

MIT

Packages

No packages published

Languages

  • TypeScript 92.4%
  • JavaScript 7.6%