815 Commits

Author SHA1 Message Date
Vadim Dalecky
a9e3bab280
fix: iframe can be null 2019-07-07 15:42:38 +02:00
Vadim Dalecky
8f04e8fd5c
fix(useSize): prevents accessing iframe's property when it's not… (#443)
fix(useSize): prevents accessing iframe's property when it's not defined
2019-07-05 00:59:49 +02:00
Manoj Bahuguna
c9b5cdca42 fix(useSize): prevents accessing iframe's property when it's not defined
ref #442
2019-07-04 18:04:51 +00:00
Renovate Bot
cf68e36ad5 chore(deps): update babel monorepo to v7.5.0 2019-07-04 14:49:32 +00:00
Renovate Bot
a247692fd6 chore(deps): update dependency @types/react to v16.8.23 2019-07-03 18:59:39 +00:00
Renovate Bot
b5944c0d78 chore(deps): update dependency @semantic-release/git to v7.0.16 2019-07-01 18:27:32 +00:00
semantic-release-bot
bb6f16b5f3 chore(release): 9.8.1 [skip ci]
## [9.8.1](https://github.com/streamich/react-use/compare/v9.8.0...v9.8.1) (2019-06-30)

### Bug Fixes

* lint fixes via lint:fix ([7ce8e4f](https://github.com/streamich/react-use/commit/7ce8e4f))
* useMap uses prevMap state which is safer ([3554f79](https://github.com/streamich/react-use/commit/3554f79))
* **useMap:** remove now also uses prevMap state to not overwrite or lose state ([0a59869](https://github.com/streamich/react-use/commit/0a59869))
v9.8.1
2019-06-30 10:49:09 +00:00
streamich
409dbdca38 style: 💄 run Prettier 2019-06-30 12:46:19 +02:00
Vadim Dalecky
8c2c4ef3e8
useMap uses previous map state upon set and remove (#423)
useMap uses previous map state upon set and remove
2019-06-30 12:42:47 +02:00
semantic-release-bot
62d531748c chore(release): 9.8.0 [skip ci]
# [9.8.0](https://github.com/streamich/react-use/compare/v9.7.2...v9.8.0) (2019-06-30)

### Bug Fixes

* 🐛 fix test and add pre-push hook ([1353b6c](https://github.com/streamich/react-use/commit/1353b6c))

### Features

* add voice option in use speech ([6dc2dd5](https://github.com/streamich/react-use/commit/6dc2dd5))
* add voice option in useSpeech ([#422](https://github.com/streamich/react-use/issues/422)) ([c32d02b](https://github.com/streamich/react-use/commit/c32d02b))
v9.8.0
2019-06-30 10:41:43 +00:00
streamich
1353b6c125 fix: 🐛 fix test and add pre-push hook 2019-06-30 12:37:00 +02:00
Vadim Dalecky
c32d02be02
feat: add voice option in useSpeech (#422)
feat: add voice option in useSpeech
2019-06-30 12:23:07 +02:00
Renovate Bot
1df06773fe chore(deps): update dependency react-spring to v8.0.27 2019-06-30 09:40:21 +00:00
Renovate Bot
ac20b2a487 chore(deps): update semantic-release monorepo 2019-06-28 20:54:27 +00:00
nmccready
0a59869e83 fix(useMap): remove now also uses prevMap state to not overwrite or lose state 2019-06-27 11:56:14 -04:00
semantic-release-bot
0ba46f9cea chore(release): 9.7.2 [skip ci]
## [9.7.2](https://github.com/streamich/react-use/compare/v9.7.1...v9.7.2) (2019-06-27)

### Bug Fixes

* save to localStorage only when state changes ([ba6d375](https://github.com/streamich/react-use/commit/ba6d375))
* use correct list variable in useList ([#412](https://github.com/streamich/react-use/issues/412)) ([b937296](https://github.com/streamich/react-use/commit/b937296))
v9.7.2
2019-06-27 10:51:45 +00:00
Vadim Dalecky
11aaf32824
Merge pull request #427 from streamich/prettier
style: 💄 run Prettier
2019-06-27 12:49:31 +02:00
streamich
f0b8053700 style: 💄 run Prettier 2019-06-27 12:48:58 +02:00
nmccready
7ce8e4f962 fix: lint fixes via lint:fix 2019-06-26 17:01:54 -04:00
nmccready
3554f79449 fix: useMap uses prevMap state which is safer 2019-06-26 16:59:01 -04:00
allen
6dc2dd572b feat: add voice option in use speech 2019-06-27 01:19:02 +08:00
Vadim Dalecky
ba6d375e07
fix: save to localStorage only when state changes 2019-06-26 17:38:49 +02:00
James Jackson
0811b2bd1a
Merge pull request #1 from jakyle/localStorage-optimized-useEffect
Update useLocalStorage.ts
2019-06-25 23:13:52 -04:00
James Jackson
9a0316ea90
Update useLocalStorage.ts 2019-06-25 23:12:41 -04:00
Vadim Dalecky
b937296f23
fix: use correct list variable in useList (#412) 2019-06-25 15:12:20 +02:00
xiaoboost
7ff5475e89 should use pure function 2019-06-25 09:15:06 +08:00
semantic-release-bot
733f532474 chore(release): 9.7.1 [skip ci]
## [9.7.1](https://github.com/streamich/react-use/compare/v9.7.0...v9.7.1) (2019-06-23)

### Bug Fixes

* 🐛 use synchronouse effect to subscribe to observables ([376eea3](https://github.com/streamich/react-use/commit/376eea3))
v9.7.1
2019-06-23 11:08:41 +00:00
Vadim Dalecky
92cf48e2a1
Use observable (#410)
Use observable
2019-06-23 13:04:52 +02:00
streamich
007f684dec test: 💍 improve useObservable test 2019-06-23 12:45:59 +02:00
streamich
376eea322d fix: 🐛 use synchronouse effect to subscribe to observables 2019-06-23 11:58:51 +02:00
Renovate Bot
d8a49100cd chore(deps): update dependency tslint to v5.18.0 2019-06-21 16:46:23 +00:00
Renovate Bot
f45fee2aec chore(deps): update dependency @types/react to v16.8.22 2019-06-21 01:53:54 +00:00
Renovate Bot
b5711bf5dd chore(deps): update storybook monorepo to v5.1.9 2019-06-20 01:31:31 +00:00
semantic-release-bot
553817a9a3 chore(release): 9.7.0 [skip ci]
# [9.7.0](https://github.com/streamich/react-use/compare/v9.6.0...v9.7.0) (2019-06-19)

### Features

* improve useClickAway() hook ([#394](https://github.com/streamich/react-use/issues/394)) ([c60df19](https://github.com/streamich/react-use/commit/c60df19))
v9.7.0
2019-06-19 13:13:07 +00:00
Vadim Dalecky
c60df19ebc
feat: improve useClickAway() hook (#394) 2019-06-19 15:10:44 +02:00
Renovate Bot
d2be34946a chore(deps): update dependency babel-plugin-dynamic-import-node to v2.3.0 2019-06-19 00:46:19 +00:00
Vadim Dalecky
e12656f545
docs: add useScrolling() hook link
[skip ci]
2019-06-18 17:49:18 +02:00
semantic-release-bot
4b9ce5a99a chore(release): 9.6.0 [skip ci]
# [9.6.0](https://github.com/streamich/react-use/compare/v9.5.0...v9.6.0) (2019-06-18)

### Bug Fixes

* add additional ref check on clean up ([d18d2d8](https://github.com/streamich/react-use/commit/d18d2d8))
* always return something from effect ([3355426](https://github.com/streamich/react-use/commit/3355426))

### Features

* 🎸 add useScrolling hook ([bd9928e](https://github.com/streamich/react-use/commit/bd9928e))
* 🎸 add useScrolling hook to index ([b3ba702](https://github.com/streamich/react-use/commit/b3ba702))
* add useScrolling docs ([25a93f6](https://github.com/streamich/react-use/commit/25a93f6))
* add useScrolling story ([760edf1](https://github.com/streamich/react-use/commit/760edf1))
v9.6.0
2019-06-18 15:45:42 +00:00
Vadim Dalecky
8bd7ca9fac
Add useScrolling hook (#374)
Add useScrolling hook
2019-06-18 17:43:11 +02:00
James
760edf1695 feat: add useScrolling story 2019-06-17 11:09:20 +01:00
James
25a93f6a6f feat: add useScrolling docs 2019-06-17 11:08:43 +01:00
James
33554262ef fix: always return something from effect 2019-06-17 11:07:43 +01:00
James
d18d2d8683 fix: add additional ref check on clean up 2019-06-17 11:07:02 +01:00
semantic-release-bot
ba3ff1d35e chore(release): 9.5.0 [skip ci]
# [9.5.0](https://github.com/streamich/react-use/compare/v9.4.1...v9.5.0) (2019-06-16)

### Bug Fixes

* add missing `rate` property ([fb795a6](https://github.com/streamich/react-use/commit/fb795a6))

### Features

* add rate option in useSpeech ([f52f1f7](https://github.com/streamich/react-use/commit/f52f1f7))
* add rate option in useSpeech ([#399](https://github.com/streamich/react-use/issues/399)) ([0e4ebc6](https://github.com/streamich/react-use/commit/0e4ebc6))
v9.5.0
2019-06-16 10:19:03 +00:00
Vadim Dalecky
fb795a6111
fix: add missing rate property 2019-06-16 12:17:16 +02:00
Vadim Dalecky
0e4ebc66e7
feat: add rate option in useSpeech (#399)
feat: add rate option in useSpeech
2019-06-16 11:57:45 +02:00
allen ge
f52f1f7f0f
feat: add rate option in useSpeech 2019-06-16 17:35:57 +08:00
Renovate Bot
882a5f24e2 chore(deps): update dependency @types/jest to v24.0.15 2019-06-16 07:51:14 +00:00
Renovate Bot
45b8c35398 chore(deps): update dependency ts-node to v8.3.0 2019-06-15 01:58:53 +00:00
jeetiss
8fb58957b6 don't use alert in story 2019-06-14 22:18:47 +03:00