Skip to content

shallinta/smarty-react-hooks

Repository files navigation

Smarty React Hooks

npm package npm download github language top github stars

NPM

个人项目中使用的自定义react-hooks. 使用rollup打包。

features

  • 支持CommonJS模块引入和ES标准模块引入
  • 支持Tree-Shaking

hooks list

功能及使用说明见源码文件顶部注释。 https://github.com/shallinta/smarty-react-hooks

  • useAnimation
  • useAsyncDebounce
  • useAsync
  • useCountdown
  • useInput
  • useKeyDown
  • useDragNDrop
  • useUpdateEffect (useUpdateLayoutEffect, useFirstMountState)

About

My custom react hooks used in programs.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published