1 Star 0 Fork 0

Evanpatchouli/react-hooks-kit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

react-hooks-kit

version npm react lisence

logo

Overeview

@evanpatchouli/react-hooks-kit is library for making it easy to use react hooks.

Documentation

Introduction

react-hooks-kit is an open source library focused on making it easy to use react hooks.

It includes a comprehensive collection of hooks that empower you to accomplish any task in your application without being forced into a specific way of doing things.

react-hooks-kit is a lightweight library that doesn't require any dependencies. It's easy to use, and it's easy to learn.

Advantages

  • Cosying: react-hooks-kit provides a simple API that makes it easy to use react hooks. Lightweight: It is a lightweight library without any dependencies.
  • Overall: It includes a comprehensive collection of hooks that empower you to accomplish different tasks in your application like store, parser, listeners, effects, etc.
  • Typescript support: It is developed with typescript and provides excellent typescript support and type inference support.
  • Innovation: It provides some innovative hooks like useWatch (partial listener), useRipple (css houdini effect), etc.

Progress

There are about 60 hooks in library, most of them are still experimental and not stable yet. In menu, only the hooks without prefix tag is entirely stable. If a hook with prefix tag of new, it means it has passed tests; with a prefix tag of cup means experimental; a prefix tag of clock means in plan.

  • When a test for a hook or a feature of a hook passed, the z in version x.y.z should be increased by 1.
  • When a hook pass all tests, it should be switched to new, and the y in version x.y.z should be increased by 1.
  • When a module of hooks pass all tests, the x in version x.y.z should be increased by 1.
  • After a module of hooks all pass tests for 3 decades, it should get retests, the hooks pass retests should be switched to stable.
  • After a module of hooks all pass retests, and the x in version x.y.z should be increased by 1.
  • Commonly, when a hook passes the first tests, the z should be increased by 1. If a hook is complex, it could increase with a feature passing tests.
  • If a clock hook switch into cup, the y in version x.y.z should be increased by 1.
  • If a new hook is created, the y in version x.y.z should be increased by 1.

Report

  • v1.2.1
    • Pass tests for useWatch
    • Pass tests for useWatchGetter
MIT License Copyright (c) 2024 Evanpatchouli Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

react-hooks-kit:超实用的 react 混合式 hooks 展开 收起
MIT
取消

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jun-laner/react-hooks-kit.git
git@gitee.com:jun-laner/react-hooks-kit.git
jun-laner
react-hooks-kit
react-hooks-kit
master

搜索帮助