English | [简体中文](https://github.com/alibaba/hooks/blob/master/README.zh-CN.md)

# ahooks

React Hooks Library.

[![NPM version][image-1]][1] [![NPM downloads][image-2]][2]

> :warning: ahooks 3.0 is comming! welcome to try it <a href="https://ahooks-next.surge.sh/" target="_blank">https://ahooks-next.surge.sh/</a>

## 📚 Documentation

- [English](https://ahooks.js.org/)
- [中文](https://ahooks.js.org/zh-CN/)

## ✨ 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

```typescript
import { useRequest } from 'ahooks';
```

## Core Team

<table>
  <tbody>
    <tr>
      <td align="center">
        <a target="_blank" href="https://github.com/alibaba/ice">
          <img
            width="32"
            src="https://img.alicdn.com/tfs/TB1Jd.tb79l0K4jSZFKXXXFjpXa-482-264.png"
          />
          <br>
          <strong>ice</strong>
        </a>
      </td>
      <td align="center">
        <a target="_blank" href="https://github.com/umijs/umi">
          <img
            width="32"
            style="vertical-align: -0.32em; margin-right: 8px;"
            src="https://img.alicdn.com/tfs/TB1fhqaLAT2gK0jSZFkXXcIQFXa-132-130.png"
          />
          <br>
          <strong>umi</strong>
        </a>
      </td>
       <td align="center">
        <a target="_blank" href="https://www.alisports.com/">
          <img
            width="32"
            style="vertical-align: -0.32em; margin-right: 8px;"
            src="https://gw.alicdn.com/tfs/TB13XKjLuL2gK0jSZFmXXc7iXXa-205-59.png"
          />
          <br>
          <strong>Alisports</strong>
        </a>
      </td>
    </tr>
  </tbody>
</table>

## 🤝 Contributing

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

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

We welcome all contributions, please read our [CONTRIBUTING.MD](https://github.com/alibaba/hooks/blob/master/CONTRIBUTING.MD) first, let's build a better hooks library together.

## 👥 Discuss

<img src="https://user-images.githubusercontent.com/12526493/141303172-68f25577-c7b7-4ff7-bdff-25fd0f4d5214.JPG" width="300" />

## ✅ License

[MIT](https://github.com/alibaba/hooks/blob/master/LICENSE)

[1]: https://www.npmjs.com/package/ahooks
[2]: https://npmjs.org/package/ahooks
[image-1]: https://img.shields.io/npm/v/ahooks.svg?style=flat
[image-2]: https://img.shields.io/npm/dm/ahooks.svg?style=flat
