349 Commits

Author SHA1 Message Date
streamich
bc021ce550 fix: 🐛 cancel animation frame on un-mount in useWindowScroll() 2019-03-23 08:40:31 +01:00
Va Da
94bffc514d
docs: fix title in useWindowScroll docs 2019-03-23 08:24:30 +01:00
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))
v5.12.0
2019-03-23 06:58:49 +00:00
Va Da
076d0def41
feat: add useWindowScroll hook 2019-03-23 07:57:36 +01:00
Ward Oosterlijnck
2fd08f8335 Added readme 2019-03-23 16:49:22 +11:00
Ward Oosterlijnck
874e9a9ba5 useWindowScroll hook 2019-03-23 16:46:04 +11: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))
v5.11.0
2019-03-22 19:59:58 +00:00
Va Da
1c43bc4f87
Merge pull request #157 from streamich/useCss
feat: 🎸 refresh useCss hook
2019-03-22 20:58:20 +01:00
streamich
2d644462e7 docs: ✏️ improve useCss docs 2019-03-22 20:57:52 +01: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))
v5.10.0
2019-03-21 13:47:12 +00:00
Va Da
c2afd23587
feat: add useUpdateEffect hook 2019-03-21 14:45:47 +01:00
Luis Felipe Zaguini
26953f12cf
Create useUpdateEffect.story.tsx 2019-03-21 10:20:36 -03:00
Luis Felipe Zaguini
257d8c074a
Update README.md 2019-03-21 10:15:42 -03:00
Luis Felipe Zaguini
d7f9ee4cb3
Update index.ts 2019-03-21 10:14:31 -03:00
Luis Felipe Zaguini
7ca74e6aad
Create useUpdateEffect.md 2019-03-21 10:12:01 -03:00
Luis Felipe Zaguini
27e4444dd3
Create useUpdateEffect.ts 2019-03-21 10:07:41 -03: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))
v5.9.0
2019-03-21 09:18:57 +00:00
Va Da
b77f6bb06a
docs: add useAsyncRetry 2019-03-21 10:17:23 +01:00
Va Da
576cf42e3f
feat: add useAsyncRetry hook 2019-03-21 10:16:25 +01:00
Va Da
8e3de1cdf1
perf: remove asyn/await wrapper 2019-03-21 10:15:27 +01: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))
v5.8.1
2019-03-20 17:44:55 +00:00
Va Da
e125157e0d
Merge pull request #151 from streamich/fix-css
fix: 🐛 use useLayoutEffect() in useCss() to inject CSS quick
2019-03-20 18:43:04 +01:00
streamich
7328f26310 fix: 🐛 use useLayoutEffect() in useCss() to inject CSS quick 2019-03-20 18:35:24 +01:00
lvl99
46d0c2766b correct incorrect logic 2019-03-20 17:06:36 +01:00
lvl99
7ceff990aa added console message to notify user about useAsyncRetry operation still loading 2019-03-20 15:44:55 +01:00
lvl99
8b7d5ed3ac reverted useAsync and created new hook useAsyncRetry which leverages useAsync
added story and docs for useAsyncRetry
fixed up new code formatting to match project
2019-03-20 15:12:45 +01:00
Renovate Bot
fec8dd3c0a chore(deps): update dependency typescript to v3.3.4000 2019-03-20 01:55:42 +00:00
Va Da
2390cafb6d
docs: fix useKeyPress link 2019-03-19 23:41:44 +01:00
Va Da
8b5e67c609
docs: add useKeyPressEvent() demo 2019-03-19 23:01:04 +01:00
semantic-release-bot
7f322b2ac0 chore(release): 5.8.0 [skip ci]
# [5.8.0](https://github.com/streamich/react-use/compare/v5.7.1...v5.8.0) (2019-03-19)

### Features

* release useKeyPressEvent() ([96798e2](https://github.com/streamich/react-use/commit/96798e2))
v5.8.0
2019-03-19 21:58:11 +00:00
Va Da
96798e2c39
feat: release useKeyPressEvent() 2019-03-19 22:56:00 +01:00
Va Da
69e94685fb
Merge pull request #149 from streamich/pr/139
Pr/139
2019-03-19 22:51:48 +01:00
Va Da
d1aebe0a90
Merge branch 'master' into pr/139 2019-03-19 22:50:02 +01:00
streamich
7cf90107e1 chore: 🤖 various improvements for useKeyPrssEvent()
add link to README, expose in index.ts, improve docs/demo, add Storybook
story
2019-03-19 22:47:12 +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
lvl99
2d02612628 first pass at retry/refresh ability for useAsync 2019-03-16 14:29:58 +01: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))
v5.7.1
2019-03-15 14:47:48 +00:00
Va Da
00a3be83d7
Merge pull request #144 from streamich/fix-usePromise-typings
fix: 🐛 allow every promise in usePromise() hook have own type
2019-03-15 15:46:18 +01:00
streamich
d60fef7db3 fix: 🐛 allow every promise in usePromise() hook have own type 2019-03-15 15:43:55 +01:00
Va Da
e330ccb336
docs: add links to demos 2019-03-15 15:32:23 +01: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))
v5.7.0
2019-03-15 14:29:32 +00:00
Va Da
704c7c9eab
Merge pull request #142 from streamich/usePromise
Use promise
2019-03-15 15:27:59 +01:00
streamich
ba0acb66f2 fix: 🐛 fix TypeScript typings for usePromise() 2019-03-15 15:24:39 +01:00
streamich
aad368ba67 feat: 🎸 add usePromise() hook 2019-03-15 15:14:00 +01: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