Skip to content

C-zhui/rhooks

Repository files navigation

我常用的 hook

一些我常用的 hook 的简单封装,不发包,复制+依赖安装即可用

  1. ahooks,能直接用就不自己写了
  2. container,灵感来自 unstated-next 和 use-context-selector,结合起来实现更好的使用体验和性能
  3. hookmodel,去中心化的 hook 状态管理,我才不用 redux,hook 才是王道
  4. react-query,我常用的异步状态管理库,简单的封装以及配置,useGlobalState 可以当做全局共享状态使用
  5. effects, useEffects 可动态增删 effect

About

Created with StackBlitz ⚡️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages