Coder Social home page Coder Social logo

throw-error-1 / hooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/hooks

0.0 0.0 0.0 8.87 MB

A high-quality & reliable React Hooks library.

Home Page: https://ahooks.js.org/

License: MIT License

Shell 0.02% JavaScript 1.42% TypeScript 98.05% CSS 0.09% HTML 0.42% Less 0.01%

hooks's Introduction

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

🔨 Usage

import { useRequest } from 'ahooks';

💻 Online Demo

Edit demo for ahooks

🤝 Contributing

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

contributors

👥 Discuss

hooks's People

Contributors

brickspert avatar awmleer avatar ttys026 avatar crazylxr avatar miracles1919 avatar hchlq avatar li-jia-nan avatar headwindz avatar luchx avatar linbudu599 avatar monkindey avatar zhaofinger avatar wangtianlun avatar dolov avatar qkxinq avatar jsun969 avatar ityuany avatar turkyden avatar rayhomie avatar diamondyuan avatar kangxinzhi avatar enclairfarron avatar huruji avatar jinixx avatar dependabot[bot] avatar yaogengzhu avatar hurryhuang1007 avatar acro5piano avatar peachscript avatar tudou527 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.