All Projects → zenghongtu → React Use Chinese

zenghongtu / React Use Chinese

Licence: unlicense
中文文档@react-use

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to React Use Chinese

Cljdoc
📚 A central documentation hub for the Clojure community
Stars: ✭ 416 (-35.3%)
Mutual labels:  docs
V8 Archive
Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
Stars: ✭ 486 (-24.42%)
Mutual labels:  docs
Bluedoc
An open-source document management tool for enterprise self host.
Stars: ✭ 579 (-9.95%)
Mutual labels:  docs
Mybatis Plus Doc
MyBatis-Plus Documentation
Stars: ✭ 431 (-32.97%)
Mutual labels:  docs
Docz
✍ It has never been so easy to document your things!
Stars: ✭ 22,020 (+3324.57%)
Mutual labels:  docs
Comunidade
Informações sobre a comunidade da Rocketseat
Stars: ✭ 546 (-15.09%)
Mutual labels:  docs
Assemble
Community
Stars: ✭ 3,995 (+521.31%)
Mutual labels:  docs
Website
🌐 The Babel documentation website
Stars: ✭ 631 (-1.87%)
Mutual labels:  docs
Project Explorer
🎋A CLI tool to create an annotated tree visualization of any project
Stars: ✭ 485 (-24.57%)
Mutual labels:  docs
Competitive Programming Docs
🌺Algorithm papers, coursewares, documents, notes and other materials are constantly being updated.
Stars: ✭ 572 (-11.04%)
Mutual labels:  docs
Verb
HEADS UP! Verb is going though a major transition, we've completely refactored everything from the ground up. If you're interested, please see the dev branch.
Stars: ✭ 442 (-31.26%)
Mutual labels:  docs
Docs
Documentation, API reference, and code snippets for NativeScript
Stars: ✭ 442 (-31.26%)
Mutual labels:  docs
Mapbox Unity Sdk
Mapbox Unity SDK - https://www.mapbox.com/unity/
Stars: ✭ 545 (-15.24%)
Mutual labels:  docs
The Documentation Compendium
📢 Various README templates & tips on writing high-quality documentation that people want to read.
Stars: ✭ 4,306 (+569.67%)
Mutual labels:  docs
Pdoc
🐍 ➡️ 📜 Auto-generate API documentation for Python projects
Stars: ✭ 604 (-6.07%)
Mutual labels:  docs
Mdx Docs
📝 Document and develop React components with MDX and Next.js
Stars: ✭ 412 (-35.93%)
Mutual labels:  docs
Circleci Docs
Documentation for CircleCI.
Stars: ✭ 501 (-22.08%)
Mutual labels:  docs
About Swiftui
Gathering all info published, both by Apple and by others, about new framework SwiftUI.
Stars: ✭ 5,954 (+825.97%)
Mutual labels:  docs
Django Rest Framework Docs
Document Web APIs made with Django Rest Framework
Stars: ✭ 607 (-5.6%)
Mutual labels:  docs
Markdown Magic
💫 Automatically format markdown files, sync external docs/src code & make better docs
Stars: ✭ 551 (-14.31%)
Mutual labels:  docs



👍
react-use





npm package CircleCI master npm downloads demos
必不可少的 React Hooks集合. libreact的端口.
原仓库: react-use 版本: v8.1.3




npm i react-use





Usage

你需要安装React 16.8.0或更高版本才能使用Hooks API。你可以分别导入每个钩子

import useToggle from 'react-use/lib/useToggle'

或使用 ES6 命名导入

import {useToggle} from 'react-use'

根据绑定器的不同,你可能会在ES6命名导入语句中遇到缺少依赖项的错误。有些钩子要求安装对等依赖项,因此我们建议单独导入。如果你希望同时使用这两种方法,你可以通过将以下配置添加到.babelrc文件中,将命名的导入语句转换为使用babel-plugin-import的单个导入语句。

[
  "import", {
    "libraryName": "react-use",
    "libraryDirectory": "lib",
    "camel2DashComponentName": false
  }
]

许可证

Unlicense — 公有领域

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].