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 ))
v4.11.1
2018-12-16 10:07:11 +00:00
Va Da
c2855955c9
Merge pull request #78 from streamich/fix-imports
...
refactor: 💡 use import hooks from React proper
2018-12-16 11:05:50 +01:00
streamich
cdc5ec596d
refactor: 💡 use import hooks from React proper
2018-12-16 11:02:52 +01:00
Joe Jiang
5d7434867c
fix: synchronously re-render bug of useRaf hook ( #77 )
...
* Another animation frame will be requested before the cleanup function for `useEffect` is executed.
* Use `useLayoutEffect` to replace `useEffect`, in order to guarantee `cancelAnimationFrame` can work well.
More details can be found in issue https://github.com/streamich/react-use/issues/76
2018-12-16 10:45:06 +01:00
Va Da
30cee86c39
docs: add note about the polyfill
2018-12-05 22:05:30 +01: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 ))
v4.11.0
2018-12-05 14:33:12 +00:00
Va Da
3c050f76ed
Merge pull request #72 from streamich/useRefMounted
...
Use ref mounted
2018-12-05 15:31:48 +01:00
streamich
3b135d9d1d
chore: 🤖 remove react-dom typings
2018-12-05 15:29:15 +01:00
streamich
dfb0510775
feat: 🎸 add useRefMounted hook
2018-12-05 15:23:43 +01:00
streamich
f755001de2
chore: 🤖 upgrade React
2018-12-05 15:09:43 +01:00
Seyyed Morteza Moosavi
b67f65682c
chore(storybook): group stories with type
2018-11-21 16:56:51 +03:30
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 ))
v4.10.0
2018-11-10 22:34:42 +00:00
Fatih Kadir Akın
124ef993d9
feat: bump useWait
2018-11-10 23:32:44 +01: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 ))
v4.9.0
2018-11-06 20:53:46 +00:00
Va Da
e62447189a
chore: fix useSessionStorage demo
2018-11-06 21:52:28 +01:00
Va Da
f4078e9b95
chore: enable useLocalStorage demo
2018-11-06 21:51:46 +01:00
Fatih Kadir Akın
61c6058b5d
feat: add useWait hook
2018-11-06 21:49:47 +01:00
Andrew Joslin
eca432a921
feat: add useSessionStorage hook
...
* Add useSessionStorage
* chore: uncomment session storage docs story
2018-11-06 21:45:57 +01:00
Va Da
58532f73e7
docs: remove ref from useAudio reference
2018-11-04 12:47:16 +01:00
Va Da
452e13ef82
docs: improve useSetState reference
2018-11-03 08:47:40 +01:00
semantic-release-bot
a539c7da7a
chore(release): 4.8.0 [skip ci]
...
# [4.8.0](https://github.com/streamich/react-use/compare/v4.7.0...v4.8.0 ) (2018-11-02)
### Features
* allow useSetState setter to accept function ([bfd114a](https://github.com/streamich/react-use/commit/bfd114a ))
v4.8.0
2018-11-02 07:51:15 +00:00
Li Yan
bfd114a407
feat: allow useSetState setter to accept function
...
* make setState of useSetState accept function argument
* update storybook
2018-11-02 08:50:04 +01:00
Truong Hoang Dung
819bd5455a
docs: fix typo on useLocalStorage's raw
2018-11-02 07:45:10 +01:00
Gabriel Basilio Brito
37de6d26f2
chore: remove unused import in useLocalStorage.ts
2018-10-31 22:36:51 +01:00
0xflotus
ca5abe5dcd
fixed requestAnimationFrame
2018-10-31 20:12:30 +01:00
Chris Parton
c8291b4ca9
Fix typo in useBattery.md
2018-10-31 12:29:15 +01:00
Va Da
04d9f38ca0
docs: center footer in README
2018-10-31 00:06:49 +01:00
Va Da
272b8d49cf
docs: use fancy README footer formatting
2018-10-30 23:59:59 +01:00
Va Da
f67740fbea
docs: use bullet list in useHover
2018-10-30 23:56:22 +01:00
Va Da
28fb47cf00
docs: typo in README
2018-10-30 23:55:33 +01:00
Va Da
c0e41221b0
docs: fix useHover reference
2018-10-30 23:45:58 +01:00
Thomas Ankcorn
45331de6b8
docs: fix typo in useSpring
2018-10-30 23:38:58 +01:00
semantic-release-bot
12726d4338
chore(release): 4.7.0 [skip ci]
...
# [4.7.0](https://github.com/streamich/react-use/compare/v4.6.0...v4.7.0 ) (2018-10-30)
### Features
* 🎸 add useHoverDirty hook ([c2aee59](https://github.com/streamich/react-use/commit/c2aee59 ))
v4.7.0
2018-10-30 17:21:53 +00:00
Va Da
0a3e8ed429
Merge pull request #53 from streamich/fix-hover
...
feat: 🎸 add useHoverDirty hook
2018-10-30 18:20:18 +01:00
streamich
c2aee592af
feat: 🎸 add useHoverDirty hook
2018-10-30 18:18:51 +01:00
semantic-release-bot
0c7d17283b
chore(release): 4.6.0 [skip ci]
...
# [4.6.0](https://github.com/streamich/react-use/compare/v4.5.0...v4.6.0 ) (2018-10-30)
### Features
* 🎸 implement useLocalStorage without events ([d211722](https://github.com/streamich/react-use/commit/d211722 ))
v4.6.0
2018-10-30 17:03:59 +00:00
Va Da
b8f8fd2588
Merge pull request #52 from streamich/local-storage
...
Local storage
2018-10-30 18:02:41 +01:00
streamich
73e05c7d59
docs: ✏️ add useLocalStorage docs
2018-10-30 17:56:04 +01:00
streamich
4de7819058
chore: 🤖 playing with useAdopt for stateful components
2018-10-30 17:44:58 +01:00
streamich
d2117225e4
feat: 🎸 implement useLocalStorage without events
2018-10-30 17:44:42 +01:00
Va Da
d82a16e93d
Merge pull request #39 from streamich/warning
...
Warning
2018-10-30 00:04:22 +01:00
Va Da
c16859ffb9
docs: add warning to useRenderProp
2018-10-30 00:03:53 +01:00
Va Da
a731412d26
docs: add warning to useAdopt
2018-10-30 00:03:25 +01:00
Siva Inoorunathapillai
a04aa8eb9a
style: Create .editorconfig
...
Added new Editor config to enable contributors confirms to the same style guide. This is inspired from react core library.
2018-10-29 23:11:53 +01:00
semantic-release-bot
f101ae52dd
chore(release): 4.5.0 [skip ci]
...
# [4.5.0](https://github.com/streamich/react-use/compare/v4.4.0...v4.5.0 ) (2018-10-29)
### Features
* 🎸 add useAdopt hook ([91bee9a](https://github.com/streamich/react-use/commit/91bee9a ))
* 🎸 add useRenderProp hook ([2d85c61](https://github.com/streamich/react-use/commit/2d85c61 ))
v4.5.0
2018-10-29 22:11:29 +00:00
Va Da
d01f7654a7
Merge pull request #37 from streamich/adopt
...
Adopt
2018-10-29 23:10:13 +01:00
streamich
91bee9a3c2
feat: 🎸 add useAdopt hook
2018-10-29 23:07:39 +01:00
streamich
2d85c61ba8
feat: 🎸 add useRenderProp hook
2018-10-29 22:45:09 +01:00
semantic-release-bot
5fe7925cf0
chore(release): 4.4.0 [skip ci]
...
# [4.4.0](https://github.com/streamich/react-use/compare/v4.3.0...v4.4.0 ) (2018-10-29)
### Features
* 🎸 add useCallbag hook ([ead142c](https://github.com/streamich/react-use/commit/ead142c ))
v4.4.0
2018-10-29 21:10:37 +00:00
Va Da
5d648e93df
Merge pull request #35 from streamich/callbag
...
feat: 🎸 add useCallbag hook
2018-10-29 22:09:20 +01:00