183 Commits

Author SHA1 Message Date
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
streamich
ead142c6fb feat: 🎸 add useCallbag hook 2018-10-29 22:07:54 +01:00
semantic-release-bot
2a43c37350 chore(release): 4.3.0 [skip ci]
# [4.3.0](https://github.com/streamich/react-use/compare/v4.2.0...v4.3.0) (2018-10-29)

### Features

* 🎸 add useOutsideClick hook ([90d2c22](https://github.com/streamich/react-use/commit/90d2c22))
v4.3.0
2018-10-29 20:51:54 +00:00
Va Da
f1093a681e
Merge pull request #34 from streamich/outside-click
Outside click
2018-10-29 21:50:41 +01:00
streamich
4e3021b8e2 docs: ✏️ fix typos in useOutsideClick docs 2018-10-29 21:50:28 +01:00
streamich
a0d95570b6 docs: ✏️ simplify README sub-title 2018-10-29 21:48:50 +01:00
streamich
90d2c224f6 feat: 🎸 add useOutsideClick hook 2018-10-29 21:47:06 +01:00
streamich
05da37fc18 chore: 🤖 start work on useDropArea 2018-10-29 21:40:36 +01:00
semantic-release-bot
0ea533fd4d chore(release): 4.2.0 [skip ci]
# [4.2.0](https://github.com/streamich/react-use/compare/v4.1.0...v4.2.0) (2018-10-29)

### Features

* 🎸 add useVideo hook ([ff05419](https://github.com/streamich/react-use/commit/ff05419))
* 🎸 allow to pass React <video> el in useVideo and useAudio ([8670c74](https://github.com/streamich/react-use/commit/8670c74))
v4.2.0
2018-10-29 20:25:20 +00:00
Va Da
bb2c91396f
Merge pull request #33 from streamich/video-2
Video 2
2018-10-29 21:24:04 +01:00
streamich
8670c7480f feat: 🎸 allow to pass React <video> el in useVideo and useAudio 2018-10-29 21:21:55 +01:00
streamich
ff05419df1 feat: 🎸 add useVideo hook 2018-10-29 21:12:26 +01:00
semantic-release-bot
78514a1dd4 chore(release): 4.1.0 [skip ci]
# [4.1.0](https://github.com/streamich/react-use/compare/v4.0.0...v4.1.0) (2018-10-29)

### Features

* 🎸 add createMemo hook factory ([8730eaa](https://github.com/streamich/react-use/commit/8730eaa))
v4.1.0
2018-10-29 19:56:51 +00:00