11 Commits

Author SHA1 Message Date
semantic-release-bot
fb2829dbbb chore(release): 5.2.1 [skip ci]
## [5.2.1](https://github.com/streamich/react-use/compare/v5.2.0...v5.2.1) (2019-01-04)

### Bug Fixes

* use function to correctly update state in useToggle ([d854d27](https://github.com/streamich/react-use/commit/d854d27))
2019-01-04 20:32:01 +00:00
semantic-release-bot
dd81ba56f5 chore(release): 5.2.0 [skip ci]
# [5.2.0](https://github.com/streamich/react-use/compare/v5.1.2...v5.2.0) (2019-01-02)

### Features

* 🎸 add useKeyPress hook ([01df885](https://github.com/streamich/react-use/commit/01df885))
* **useKeyPress:** allow complex bindings via key combos ([e53a20f](https://github.com/streamich/react-use/commit/e53a20f))
2019-01-02 15:21:00 +00:00
semantic-release-bot
91cb6c8107 chore(release): 5.1.2 [skip ci]
## [5.1.2](https://github.com/streamich/react-use/compare/v5.1.1...v5.1.2) (2018-12-29)

### Bug Fixes

* reset state when calling useEffect in useAsync ([2f5af2c](https://github.com/streamich/react-use/commit/2f5af2c))
2018-12-29 15:27:33 +00:00
semantic-release-bot
752e92a0f2 chore(release): 5.1.1 [skip ci]
## [5.1.1](https://github.com/streamich/react-use/compare/v5.1.0...v5.1.1) (2018-12-20)

### Bug Fixes

* lock react and react-dom to a fixed version ([#83](https://github.com/streamich/react-use/issues/83)) ([455812d](https://github.com/streamich/react-use/commit/455812d))
2018-12-20 08:56:05 +00:00
semantic-release-bot
d8800b4b42 chore(release): 5.1.0 [skip ci]
# [5.1.0](https://github.com/streamich/react-use/compare/v5.0.0...v5.1.0) (2018-12-19)

### Bug Fixes

* 🐛 just use any for setTimeout because of diff environments ([55673cb](https://github.com/streamich/react-use/commit/55673cb))
* 🐛 memoized does not receive arguments ([244a533](https://github.com/streamich/react-use/commit/244a533))
* 🐛 use Timeout type for build to work ([8c66abe](https://github.com/streamich/react-use/commit/8c66abe))

### Features

* added useDebounce ([91ff6ba](https://github.com/streamich/react-use/commit/91ff6ba))
* pass arguments to memoized callback ([#81](https://github.com/streamich/react-use/issues/81)) ([88dd513](https://github.com/streamich/react-use/commit/88dd513))
2018-12-19 23:03:38 +00:00
semantic-release-bot
3c9a48e1ed chore(release): 5.0.0 [skip ci]
# [5.0.0](https://github.com/streamich/react-use/compare/v4.11.1...v5.0.0) (2018-12-17)

### Features

* 🎸 list all useAsync state props so that TS dont complain ([7c1b107](https://github.com/streamich/react-use/commit/7c1b107))
* 🎸 remove experimental hooks ([533e26f](https://github.com/streamich/react-use/commit/533e26f))
* use discriminated union in useAsync ([966af4a](https://github.com/streamich/react-use/commit/966af4a))

### BREAKING CHANGES

* useRenderProp and useAsync are removed
2018-12-17 17:47:47 +00:00
semantic-release-bot
8d3dbd417f chore(release): 4.11.1 [skip ci]
## [4.11.1](https://github.com/streamich/react-use/compare/v4.11.0...v4.11.1) (2018-12-16)

### Bug Fixes

* synchronously re-render bug of useRaf hook ([#77](https://github.com/streamich/react-use/issues/77)) ([5d74348](https://github.com/streamich/react-use/commit/5d74348))
2018-12-16 10:07:11 +00:00
semantic-release-bot
6b585f01b9 chore(release): 4.11.0 [skip ci]
# [4.11.0](https://github.com/streamich/react-use/compare/v4.10.0...v4.11.0) (2018-12-05)

### Features

* 🎸 add useRefMounted hook ([dfb0510](https://github.com/streamich/react-use/commit/dfb0510))
2018-12-05 14:33:12 +00:00
semantic-release-bot
6c4bcfd22a chore(release): 4.10.0 [skip ci]
# [4.10.0](https://github.com/streamich/react-use/compare/v4.9.0...v4.10.0) (2018-11-10)

### Features

* bump useWait ([124ef99](https://github.com/streamich/react-use/commit/124ef99))
2018-11-10 22:34:42 +00:00
semantic-release-bot
6f86b9e4e1 chore(release): 4.9.0 [skip ci]
# [4.9.0](https://github.com/streamich/react-use/compare/v4.8.0...v4.9.0) (2018-11-06)

### Features

* add useSessionStorage hook ([eca432a](https://github.com/streamich/react-use/commit/eca432a))
* add useWait hook ([61c6058](https://github.com/streamich/react-use/commit/61c6058))
2018-11-06 20:53:46 +00:00
Fatih Kadir Akın
61c6058b5d feat: add useWait hook 2018-11-06 21:49:47 +01:00