Joe Jiang 455812d33a fix: lock react and react-dom to a fixed version (#83)
According to React Blog, the newest version of React v16.7 doesn't include React Hooks, before they tag an extra version for upcoming hooks, we should lock the version to latest react 16.7.0 alpha version, rather than use `next` to specify its version info in `package.json`. More details can be found at https://reactjs.org/blog/2018/12/19/react-v-16-7.html#can-i-use-hooks-yet
2018-12-20 09:54:40 +01:00
2018-12-18 18:12:24 -05:00
2018-10-29 23:11:53 +01:00
2018-10-28 14:32:06 +01:00
2018-12-19 23:03:38 +00:00
2018-10-27 12:15:13 +02:00



👍
react-use






Collection of essential React Hooks.
Port of libreact. See demos.




npm i react-use








Usage

You need to have React 16.7.0-alpha.0 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%