streamich 452e8d9425 feat: 🎸 simplify and improve useThrottle hook
Create a version of the hook that simply throttled a value, hook that
throttles a function will be called useThrottleFn.

BREAKING CHANGE: 🧨 useThrottle is now a completely different hook
2019-03-27 21:10:57 +01:00
2018-10-29 23:11:53 +01:00
2019-03-27 11:58:36 +00:00
2018-10-27 12:15:13 +02:00
2019-03-27 20:05:59 +01:00
2019-02-24 16:00:48 +01:00
2019-03-13 20:58:57 +01:00



👍
react-use






Collection of essential React Hooks. Port of libreact. See demos.
Translations: 🇨🇳 汉语




npm i react-use








Usage


You need to have React 16.8.1 or later installed to use Hooks API.

You can import each hook individually import useToggle from 'react-use/lib/useToggle'.


License

Unlicense — public domain.

Description
React Hooks — 👍
Readme Unlicense 146 MiB
Languages
TypeScript 99.6%
JavaScript 0.4%