107 Commits

Author SHA1 Message Date
semantic-release-bot
7aa279808c chore(release): 5.12.0 [skip ci]
# [5.12.0](https://github.com/streamich/react-use/compare/v5.11.0...v5.12.0) (2019-03-23)

### Features

* add useWindowScroll hook ([076d0de](https://github.com/streamich/react-use/commit/076d0de))
2019-03-23 06:58:49 +00:00
semantic-release-bot
3e50e8111a chore(release): 5.11.0 [skip ci]
# [5.11.0](https://github.com/streamich/react-use/compare/v5.10.0...v5.11.0) (2019-03-22)

### Features

* 🎸 refresh useCss hook ([0116cc9](https://github.com/streamich/react-use/commit/0116cc9))
2019-03-22 19:59:58 +00:00
streamich
0116cc9fed feat: 🎸 refresh useCss hook 2019-03-22 20:51:06 +01:00
semantic-release-bot
19ac56f44a chore(release): 5.10.0 [skip ci]
# [5.10.0](https://github.com/streamich/react-use/compare/v5.9.0...v5.10.0) (2019-03-21)

### Features

* add useUpdateEffect hook ([c2afd23](https://github.com/streamich/react-use/commit/c2afd23))
2019-03-21 13:47:12 +00:00
semantic-release-bot
c8f3198213 chore(release): 5.9.0 [skip ci]
# [5.9.0](https://github.com/streamich/react-use/compare/v5.8.1...v5.9.0) (2019-03-21)

### Features

* add useAsyncRetry hook ([576cf42](https://github.com/streamich/react-use/commit/576cf42))

### Performance Improvements

* remove asyn/await wrapper ([8e3de1c](https://github.com/streamich/react-use/commit/8e3de1c))
2019-03-21 09:18:57 +00:00
semantic-release-bot
4158ced7d3 chore(release): 5.8.1 [skip ci]
## [5.8.1](https://github.com/streamich/react-use/compare/v5.8.0...v5.8.1) (2019-03-20)

### Bug Fixes

* 🐛 use useLayoutEffect() in useCss() to inject CSS quick ([7328f26](https://github.com/streamich/react-use/commit/7328f26))
2019-03-20 17:44:55 +00:00
Renovate Bot
fec8dd3c0a chore(deps): update dependency typescript to v3.3.4000 2019-03-20 01:55:42 +00:00
Va Da
96798e2c39
feat: release useKeyPressEvent() 2019-03-19 22:56:00 +01:00
Renovate Bot
5b1bd7827d chore(deps): update storybook monorepo to v5.0.3 2019-03-18 11:21:16 +00:00
Renovate Bot
7eaca74648 chore(deps): update storybook monorepo to v5.0.2 2019-03-17 06:45:05 +00:00
Renovate Bot
507000f7ea chore(deps): update dependency react-spring to v6.1.10 2019-03-15 22:25:27 +00:00
Renovate Bot
1086a7a5ec chore(deps): pin dependencies 2019-03-15 19:46:39 +00:00
semantic-release-bot
c0bf881539 chore(release): 5.7.1 [skip ci]
## [5.7.1](https://github.com/streamich/react-use/compare/v5.7.0...v5.7.1) (2019-03-15)

### Bug Fixes

* 🐛 allow every promise in usePromise() hook have own type ([d60fef7](https://github.com/streamich/react-use/commit/d60fef7))
2019-03-15 14:47:48 +00:00
semantic-release-bot
f618352b71 chore(release): 5.7.0 [skip ci]
# [5.7.0](https://github.com/streamich/react-use/compare/v5.6.0...v5.7.0) (2019-03-15)

### Bug Fixes

* 🐛 fix TypeScript typings for usePromise() ([ba0acb6](https://github.com/streamich/react-use/commit/ba0acb6))

### Features

* 🎸 add usePromise() hook ([aad368b](https://github.com/streamich/react-use/commit/aad368b))
2019-03-15 14:29:32 +00:00
streamich
a2a6fe326a chore: 🤖 split display secions in Storybook left column 2019-03-15 14:46:00 +01:00
streamich
86d7bc89ec chore: 🤖 upgrade Storybook to v5, disable TypeScript type check 2019-03-15 14:29:28 +01:00
semantic-release-bot
9063f4d1b2 chore(release): 5.6.0 [skip ci]
# [5.6.0](https://github.com/streamich/react-use/compare/v5.5.6...v5.6.0) (2019-03-13)

### Features

* transpile down to ES5 ([61382e3](https://github.com/streamich/react-use/commit/61382e3))
2019-03-13 20:03:08 +00:00
semantic-release-bot
e990f0c839 chore(release): 5.5.6 [skip ci]
## [5.5.6](https://github.com/streamich/react-use/compare/v5.5.5...v5.5.6) (2019-03-11)

### Bug Fixes

* correct createMemo.md ([4e2d639](https://github.com/streamich/react-use/commit/4e2d639))
* correct createMemo.story ([9c8e093](https://github.com/streamich/react-use/commit/9c8e093))
2019-03-11 07:48:11 +00:00
Renovate Bot
986b297847 chore(deps): update react monorepo to v16.8.4 2019-03-06 00:54:50 +00:00
semantic-release-bot
7085cc9332 chore(release): 5.5.5 [skip ci]
## [5.5.5](https://github.com/streamich/react-use/compare/v5.5.4...v5.5.5) (2019-03-04)

### Bug Fixes

* 🐛 make useWindowSize work on server ([8f93853](https://github.com/streamich/react-use/commit/8f93853))
2019-03-04 16:45:33 +00:00
semantic-release-bot
9349aa65b3 chore(release): 5.5.4 [skip ci]
## [5.5.4](https://github.com/streamich/react-use/compare/v5.5.3...v5.5.4) (2019-02-25)

### Bug Fixes

* 🐛 new React behaviour needs useState to set something ([e926faf](https://github.com/streamich/react-use/commit/e926faf)), closes [#128](https://github.com/streamich/react-use/issues/128)
2019-02-25 11:28:05 +00:00
semantic-release-bot
20e4100b91 chore(release): 5.5.3 [skip ci]
## [5.5.3](https://github.com/streamich/react-use/compare/v5.5.2...v5.5.3) (2019-02-25)

### Bug Fixes

* **deps:** update dependency use-callbag to ^0.2.0 ([4d49d0b](https://github.com/streamich/react-use/commit/4d49d0b))
2019-02-25 01:56:42 +00:00
Renovate Bot
4d49d0b61d fix(deps): update dependency use-callbag to ^0.2.0 2019-02-25 01:55:06 +00:00
semantic-release-bot
fd7735047a chore(release): 5.5.2 [skip ci]
## [5.5.2](https://github.com/streamich/react-use/compare/v5.5.1...v5.5.2) (2019-02-24)

### Bug Fixes

* **deps:** update dependency use-onclickoutside to ^0.3.0 ([0baae6d](https://github.com/streamich/react-use/commit/0baae6d))
2019-02-24 23:46:50 +00:00
Renovate Bot
0baae6d6f4 fix(deps): update dependency use-onclickoutside to ^0.3.0 2019-02-24 23:45:18 +00:00
semantic-release-bot
452d639c23 chore(release): 5.5.1 [skip ci]
## [5.5.1](https://github.com/streamich/react-use/compare/v5.5.0...v5.5.1) (2019-02-24)

### Bug Fixes

* **deps:** update dependency ts-easing to ^0.2.0 ([3321e11](https://github.com/streamich/react-use/commit/3321e11))
2019-02-24 23:44:21 +00:00
Renovate Bot
3321e11421 fix(deps): update dependency ts-easing to ^0.2.0 2019-02-24 23:43:00 +00:00
Renovate Bot
3503f9b8b6 chore(deps): update semantic-release monorepo 2019-02-24 22:37:33 +00:00
Renovate Bot
2a897905ea chore(deps): update react monorepo to v16.8.3 2019-02-24 21:49:03 +00:00
Renovate Bot
ca5c0ec9ac chore(deps): update dependency typescript to v3.3.3333 2019-02-24 19:47:55 +00:00
Renovate Bot
09c45faff7 chore(deps): update dependency rxjs to v6.4.0 2019-02-24 18:51:27 +00:00
Renovate Bot
abb1d210ad chore(deps): update dependency rimraf to v2.6.3 2019-02-24 17:34:34 +00:00
Renovate Bot
4e833a7cb2 chore(deps): pin dependencies 2019-02-24 16:37:58 +00:00
semantic-release-bot
5fe98b0d5a chore(release): 5.5.0 [skip ci]
# [5.5.0](https://github.com/streamich/react-use/compare/v5.4.1...v5.5.0) (2019-02-23)

### Bug Fixes

* add type definition for useList() remove() method ([ea2dc43](https://github.com/streamich/react-use/commit/ea2dc43))
* useSetState bug ([83611a1](https://github.com/streamich/react-use/commit/83611a1))

### Features

* Add remove method for useList ([5a295d9](https://github.com/streamich/react-use/commit/5a295d9))
2019-02-23 14:29:19 +00:00
semantic-release-bot
4552ee0e5e chore(release): 5.4.1 [skip ci]
## [5.4.1](https://github.com/streamich/react-use/compare/v5.4.0...v5.4.1) (2019-02-19)

### Bug Fixes

* 🐛 better async loading for keyboardjs ([2096bae](https://github.com/streamich/react-use/commit/2096bae)), closes [#103](https://github.com/streamich/react-use/issues/103)
2019-02-19 16:21:40 +00:00
semantic-release-bot
72867fd9dc chore(release): 5.4.0 [skip ci]
# [5.4.0](https://github.com/streamich/react-use/compare/v5.3.1...v5.4.0) (2019-02-19)

### Features

* add error and loading fields to useGeolocation ([6909a69](https://github.com/streamich/react-use/commit/6909a69))
2019-02-19 10:28:45 +00:00
semantic-release-bot
15771ef49e chore(release): 5.3.1 [skip ci]
## [5.3.1](https://github.com/streamich/react-use/compare/v5.3.0...v5.3.1) (2019-02-17)

### Bug Fixes

* 🐛 fix typings in useOrientation sensor ([afbacac](https://github.com/streamich/react-use/commit/afbacac))
* 🐛 fix useSetState after React update ([524abe5](https://github.com/streamich/react-use/commit/524abe5)), closes [#107](https://github.com/streamich/react-use/issues/107) [#107](https://github.com/streamich/react-use/issues/107)
* useOrientation breaks in some devices ([d89bd54](https://github.com/streamich/react-use/commit/d89bd54))
2019-02-17 08:48:53 +00:00
semantic-release-bot
77ef00510d chore(release): 5.3.0 [skip ci]
# [5.3.0](https://github.com/streamich/react-use/compare/v5.2.3...v5.3.0) (2019-02-07)

### Features

* Add updateAt method for useList ([ad05609](https://github.com/streamich/react-use/commit/ad05609))
2019-02-07 11:58:34 +00:00
semantic-release-bot
682a271ffe chore(release): 5.2.3 [skip ci]
## [5.2.3](https://github.com/streamich/react-use/compare/v5.2.2...v5.2.3) (2019-02-07)

### Bug Fixes

* 🐛 fix build and update React deps ([27e26a0](https://github.com/streamich/react-use/commit/27e26a0))
2019-02-07 11:54:53 +00:00
streamich
27e26a0135 fix: 🐛 fix build and update React deps 2019-02-07 12:51:53 +01:00
Donavon West
d09f101ab3
update to release React 16.8.0 2019-02-06 21:01:13 -05:00
semantic-release-bot
87ca11680b chore(release): 5.2.2 [skip ci]
## [5.2.2](https://github.com/streamich/react-use/compare/v5.2.1...v5.2.2) (2019-02-02)

### Bug Fixes

* release useDebounce and useToggle fixes ([12ad880](https://github.com/streamich/react-use/commit/12ad880))
2019-02-02 14:53:25 +00:00
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
Va Da
3478bd9974
Merge pull request #84 from ythecombinator/master
feat: 🎸add useKeyPress hook
2019-01-02 16:19:36 +01: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
Matheus Albuquerque
6ffebb69fd chore(package): add keyboardjs as a dep 2018-12-26 03:56:39 -03: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
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
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