Skip to content
React Hooks Library
TypeScript JavaScript
Branch: master
Clone or download

Latest commit

Latest commit 4c9512d Jun 17, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows fix ci Jun 8, 2020
docs Update index.zh-CN.md Jun 12, 2020
packages 📝 doc: typo Jun 17, 2020
public feat: add logo Jun 7, 2020
.babelrc chore: refactor the build toolchain with gulp and remove father Jun 8, 2020
.editorconfig feat: 🎉 init project Jun 28, 2019
.eslintrc.js Merge branch 'feat/useFullScreen' of github.com:umijs/hooks into feat… Dec 4, 2019
.gitignore add doc:pub script May 27, 2020
.gitleaks.toml feat May 27, 2020
.prettierignore build: to lerna Jan 21, 2020
.prettierrc feat: 🎉 init project Jun 28, 2019
.umirc.js doc: add v1.x Jun 16, 2020
CONTRIBUTING.MD Update CONTRIBUTING.MD Jun 15, 2020
LICENSE fix: typo Jun 7, 2020
README.md fix: typo Jun 7, 2020
README.zh-CN.md fix: typo Jun 7, 2020
dingtalk.jpg chore: change dingtalk image Jun 7, 2020
gulpfile.js chore: refactor the build toolchain with gulp and remove father Jun 8, 2020
jest.config.js chore: refactor the build toolchain with gulp and remove father Jun 8, 2020
lerna.json chore: reset lerna config Apr 21, 2020
package-lock.json fix: add missing dependencies Jun 9, 2020
package.json chore: update pub:doc npm script Jun 15, 2020
tsconfig.json chore: refactor the build toolchain with gulp and remove father Jun 8, 2020
webpack.common.js chore: refactor the build toolchain with gulp and remove father Jun 8, 2020

README.md

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 git@github.com: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

You can’t perform that action at this time.