semantic-release-bot 53cf6eefb6 chore(release): 3.0.0 [skip ci]
# [3.0.0](https://github.com/streamich/react-use/compare/v2.3.0...v3.0.0) (2018-10-29)

### Features

* 🎸 accept any value type in useToggle and cast it to bool ([869f767](https://github.com/streamich/react-use/commit/869f767))

### BREAKING CHANGES

* now useToggle and useBoolean accept any value type and cast it to
boolean.
2018-10-29 14:35:50 +00:00
2018-10-29 15:27:51 +01:00
2018-10-28 14:32:06 +01:00
2018-10-29 14:35:50 +00:00
2018-10-27 12:15:13 +02:00
2018-10-29 14:35:50 +00:00
2018-10-29 15:27:51 +01:00
2018-10-28 23:22:46 +01:00



👍
react-use






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




npm i react-use


Reference

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 146 MiB
Languages
TypeScript 99.6%
JavaScript 0.4%