3.8.4 • Published 6 months ago

ahooks v3.8.4

Weekly downloads
14,099
License
MIT
Repository
github
Last release
6 months ago

A high-quality & reliable React Hooks library.

NPM version NPM downloads npm npm Coverage Status gzip size Percentage of issues still open Average time to resolve an issue GitHub

English | 简体中文

📚 Documentation

✨ Features

  • Easy to learn and use
  • Supports SSR
  • Special treatment for functions, avoid closure problems
  • Contains a large number of advanced Hooks that are refined from business scenarios
  • Contains a comprehensive collection of basic Hooks
  • Written in TypeScript with predictable static types

📦 Install

$ npm install --save ahooks
# or
$ yarn add ahooks
# or
$ pnpm add ahooks
# or
$ bun add ahooks

🔨 Usage

import { useRequest } from 'ahooks';

💻 Online Demo

Edit demo for ahooks

🤝 Contributing

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

Open your browser and visit http://127.0.0.1:8000

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

Thanks to all the contributors:

👥 Discuss

@yangfei-ui/react-window-table@yuants/ui-web@antv/li-editor-p2@linkdesign/giscarrier_analcommuni-design-systemdesign-rth-mobile@titaui/pc@big-data-component-lerna/commonpagegao_test_11gao_umi_test11web-pdm-testweb-pdm-test1jyswsdssdfdfdsafdtedsssswdswsszlchartscz-hooks@netty0911/rc-dropdownsbw-components-testhotee-adminpra-hook@codingfly/remaxuiuse-table-testbici-datav-npmxh-common-pckxinherc1zstack-componentsyh-cmsh5-npmstickybar@linge-cli-dev/core@retech/uios-consoledxsix-form-componentswzy-baseccshookexport-data-meta-componentqnweb-whiteboard-demosk-sdk-testc-element-libraryxinherc_testyeah-componentstext-dumi-wx02zp-component-libraryimean-sdk-cra@vinvc/antd-plugins@cloud-app-dev/basic-componentscarousel-react-hooksdakewe-react-componentsfamom-ui3bextdtt-compstt-ossoripay-uijest-aioikkz-bextluck-biz-components@ambassify/ui-carousel@ambassify/ui-dropdown@ambassify/ui-inputjest-one@everything-registry/sub-chunk-1107@arim-yfzx/poi-components@zhjcom/bizgenee-element@labmai.dev/genee-element-testemiya-components-modernjs-demoadgraphcoreassets-popup@digitalzz/bizuigenee-element-testrc-gantt-dragbodor-fusion-uidonate3-sdk-ellenmidend-ddm-ggnext-business-componentsama-rrc-gantt@wisdech/attachmentsantd-dansalass-sds@yf-ui/react-window-tableask_hookstaro-react-uitdesign-mobile-reacttapque-componentstapque-react-componentstarvantaro-dmuisword-tooltable-rendertable-render-testszld-libsteng-xinsvl-admin-templatetest-antd-compstest-formilywinner-chat-sdkwodetian-uivvmodule-docwallbweb-pdm-corewebsters-admin
3.8.4

6 months ago

3.8.3

6 months ago

3.8.2

6 months ago

3.8.1

10 months ago

3.8.0

1 year ago

3.7.11

1 year ago

3.7.10

1 year ago

3.7.9

1 year ago

3.7.8

2 years ago

3.7.7

2 years ago

3.7.5

2 years ago

3.7.6

2 years ago

3.7.4

2 years ago

3.7.3

2 years ago

3.3.9

3 years ago

3.3.8

3 years ago

3.7.2

3 years ago

3.2.0

3 years ago

3.6.2

3 years ago

3.5.2

3 years ago

3.5.1

3 years ago

3.5.0

3 years ago

3.1.14

3 years ago

3.4.0

3 years ago

3.4.1

3 years ago

3.3.13

3 years ago

3.3.10

3 years ago

3.3.11

3 years ago

3.3.12

3 years ago

3.3.0

3 years ago

3.7.1

3 years ago

3.7.0

3 years ago

3.1.12

3 years ago

3.1.11

3 years ago

3.1.13

3 years ago

3.1.10

3 years ago

3.0.0-alpha.16

4 years ago

3.0.0-alpha.15

4 years ago

3.0.0-alpha.18

4 years ago

3.0.0-alpha.17

4 years ago

3.1.9

3 years ago

3.1.8

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.8

3 years ago

3.0.7

3 years ago

3.0.6

3 years ago

3.0.5

3 years ago

3.0.0

3 years ago

2.10.14

4 years ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.1.7

3 years ago

3.1.6

3 years ago

3.1.5

3 years ago

3.1.4

3 years ago

3.0.0-alpha.7

4 years ago

3.0.0-alpha.6

4 years ago

3.0.0-alpha.9

4 years ago

3.0.0-alpha.8

4 years ago

3.0.0-alpha.14

4 years ago

3.0.0-alpha.13

4 years ago

3.0.0-alpha.3

4 years ago

3.0.0-alpha.2

4 years ago

3.0.0-alpha.5

4 years ago

3.0.0-alpha.4

4 years ago

3.0.0-alpha.10

4 years ago

3.0.0-alpha.12

4 years ago

3.0.0-alpha.11

4 years ago

2.10.12

4 years ago

2.10.11

4 years ago

2.10.10

4 years ago

3.0.0-alpha.0

4 years ago

2.10.9

4 years ago

2.10.10-beta

4 years ago

2.10.8

4 years ago

2.10.7

4 years ago

2.10.5

4 years ago

2.10.6

4 years ago

2.10.2

4 years ago

2.10.3

4 years ago

2.10.4

4 years ago

2.10.1

4 years ago

2.10.0

4 years ago

2.9.6

4 years ago

2.9.4

4 years ago

2.9.3

4 years ago

2.9.2

5 years ago

2.9.1

5 years ago

2.8.1

5 years ago

2.8.0

5 years ago

2.7.1

5 years ago

2.7.0

5 years ago

2.6.1

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.2.0-beta

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.1

5 years ago

1.0.1-beta.1

5 years ago

1.0.0

5 years ago

1.0.0-beta.2

5 years ago

0.0.1

5 years ago