streamich 61700675cd chore: 🤖 don't install only large dependencies
This change removes useCallbag hook, it also reverts back changes for
hooks that only have tiny dependencies or dependencies that could have
been part of the hook itself. Effectivly only KeyboardJS and Rebound are
large packages that only partially are used by react-use, hence require
user to install them separately.

BREAKING CHANGE: 🧨 useCallbag hook is removed, some hooks KeyboardJS and Rebound installed
separately
2019-03-25 13:19:37 +01:00
2018-10-29 23:11:53 +01:00
2018-10-27 12:15:13 +02: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 144 MiB
Languages
TypeScript 99.6%
JavaScript 0.4%