streamich f5faba515d fix: 🐛 don't throw only in development
Throwing changes behaviour of the code, other code may rely on this
behaviour, so we either throw in all environments or console.error
instead.

BREAKING CHANGE: 🧨 error is logged instead of thrown in development environment
2019-03-26 11:20:42 +01:00
2019-03-26 11:20:42 +01:00
2019-03-26 11:20:42 +01:00
2018-10-29 23:11:53 +01:00
2019-03-26 11:20:42 +01:00
2018-10-27 12:15:13 +02:00
2019-03-26 11:20:42 +01:00
2019-03-26 11:20:42 +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 147 MiB
Languages
TypeScript 99.6%
JavaScript 0.4%