JSPM

  • Created
  • Published
  • Downloads 210859
  • Score
    100M100P100Q166892F
  • License MIT

react hooks library

Package Exports

  • ahooks
  • ahooks/es/useAntdTable
  • ahooks/es/useControllableValue
  • ahooks/es/useFullscreen
  • ahooks/es/usePersistFn
  • ahooks/es/useSetState
  • ahooks/es/useSize
  • ahooks/es/useUpdateEffect
  • ahooks/es/useVirtualList
  • ahooks/lib/useFullscreen
  • ahooks/lib/useMount
  • ahooks/lib/usePrevious
  • ahooks/lib/useUpdateEffect
  • ahooks/lib/utils/dom

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ahooks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

English | 简体中文

ahooks

React Hooks Library.

NPM version NPM downloads

📚 Documentation

✨ 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';

Core Team


ice

umi

Alisports

🤝 Contributing

$ 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.

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

👥 Discuss

✅ License

MIT