The Wayback Machine - https://web.archive.org/web/20201230110217/https://github.com/febugcoder/hooks
Skip to content
master
Go to file
Code
This branch is 971 commits behind alibaba:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

English | 简体中文

@umijs/hooks

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.

📣 Explain

You can use umi hooks anywhere, with any component library. Although our examples are based on ant design, it does not mean that our Hooks can only be used with ant design.

📦 Install

npm i @umijs/hooks --save

🔨 Usage

import { useAsync } from '@umijs/hooks';

🖥 Development

$ git clone [email protected]:umijs/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

About

React Hooks Library

Resources

License

Packages

No packages published
You can’t perform that action at this time.