GithubHelp home page GithubHelp logo

yangjiaxin1995 / react-hooks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pansyjs/react-hooks

0.0 0.0 0.0 37.34 MB

react hooks

Home Page: https://hooks.xingkang.wang

License: MIT License

JavaScript 0.39% TypeScript 99.30% Shell 0.02% Smarty 0.28%

react-hooks's Introduction

@pansy/react-hooks

NPM version NPM downloads codecov license issues Percentage of issues still open Average time to resolve an issue

📚 文档

docs

✨ 特性

  • 📦 每个 Hook 单独发包,方便使用
  • 🌵 包含丰富的基础 Hooks
  • 💻 使用 TypeScript 编写,提供完善的类型定义

🏗 安装

// npm
npm install @pansy/react-hooks --save

// yarn
yarn add @pansy/react-hooks

// pnpm
pnpm install @pansy/react-hooks

注意 每个 Hook 单独发包,如只是用部分可单独安装对应的 Hook 包;

🔨 使用

import { useModal } from '@pansy/react-hooks';

// or
import { useModal } from '@pansy/use-modal';

🤝 参与共建

本仓库使用 pnpm 进行依赖管理,开发前请保证已安装

$ git clone [email protected]:pansyjs/react-hooks.git
$ cd react-hooks
$ pnpm install
$ pnpm start

如何创建一个Hook, 执行以下命令,会帮你创建基本的文件

pnpm run hooks:create

react-hooks's People

Contributors

wangxingkang avatar renovate-bot avatar semantic-release-bot avatar xiaoliangpan 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.