128 Commits

Author SHA1 Message Date
streamich
4e362ac8f7 docs: ✏️ update useCounter docs 2018-10-29 18:46:51 +01:00
streamich
a58a4a7889 feat: 🎸 add useNumber alias 2018-10-29 18:44:25 +01:00
streamich
395e82b03b feat: 🎸 improve useCounter interface
BREAKING CHANGE: useCounter interface changed
2018-10-29 18:42:47 +01:00
semantic-release-bot
9a1e9ce9fa chore(release): 3.1.0 [skip ci]
# [3.1.0](https://github.com/streamich/react-use/compare/v3.0.0...v3.1.0) (2018-10-29)

### Features

* 🎸 add useGetSetState ([dcd1013](https://github.com/streamich/react-use/commit/dcd1013))

### Performance Improvements

* ️ wrape useGetSetState callbacks in useCallback ([3c1e57d](https://github.com/streamich/react-use/commit/3c1e57d))
v3.1.0
2018-10-29 16:48:13 +00:00
Va Da
cde5613985
Merge pull request #29 from streamich/useGetSetState
feat: 🎸 add useGetSetState
2018-10-29 17:47:00 +01:00
streamich
3c1e57d60e perf: ️ wrape useGetSetState callbacks in useCallback 2018-10-29 17:46:28 +01:00
streamich
dcd1013736 feat: 🎸 add useGetSetState 2018-10-29 17:41:34 +01:00
Va Da
efa9acd988 docs: improve README spacing 2018-10-29 17:02:57 +01:00
semantic-release-bot
53cf6eefb6 chore(release): 3.0.0 [skip ci]
# [3.0.0](https://github.com/streamich/react-use/compare/v2.3.0...v3.0.0) (2018-10-29)

### Features

* 🎸 accept any value type in useToggle and cast it to bool ([869f767](https://github.com/streamich/react-use/commit/869f767))

### BREAKING CHANGES

* now useToggle and useBoolean accept any value type and cast it to
boolean.
v3.0.0
2018-10-29 14:35:50 +00:00
Va Da
9d144274e5
Merge pull request #27 from streamich/fix-boolean
feat: 🎸 accept any value type in useToggle and cast it to bool
2018-10-29 15:34:40 +01:00
streamich
869f767c9a feat: 🎸 accept any value type in useToggle and cast it to bool
BREAKING CHANGE: now useToggle and useBoolean accept any value type and cast it to
boolean.
2018-10-29 15:33:05 +01:00
semantic-release-bot
8a9d05ef74 chore(release): 2.3.0 [skip ci]
# [2.3.0](https://github.com/streamich/react-use/compare/v2.2.0...v2.3.0) (2018-10-29)

### Features

* 🎸 add useBoolean hook ([ce6de24](https://github.com/streamich/react-use/commit/ce6de24))
v2.3.0
2018-10-29 14:30:18 +00:00
Va Da
c36780d644
Merge pull request #26 from streamich/use-boolean
feat: 🎸 add useBoolean hook
2018-10-29 15:29:06 +01:00
streamich
ce6de24e2f feat: 🎸 add useBoolean hook 2018-10-29 15:27:51 +01:00
semantic-release-bot
8e81e8fe6b chore(release): 2.2.0 [skip ci]
# [2.2.0](https://github.com/streamich/react-use/compare/v2.1.0...v2.2.0) (2018-10-29)

### Features

* 🎸 add useGetSet hook ([bfc30b9](https://github.com/streamich/react-use/commit/bfc30b9))
* 🎸 add useUpdate hook ([c00f308](https://github.com/streamich/react-use/commit/c00f308))
v2.2.0
2018-10-29 14:10:33 +00:00
Va Da
aa4c3d997a
Merge pull request #25 from streamich/get-set
Get set
2018-10-29 15:09:19 +01:00
streamich
52abf315ca refactor: 💡 use useUpdate in useGetSet 2018-10-29 15:06:38 +01:00
streamich
c00f308e95 feat: 🎸 add useUpdate hook 2018-10-29 15:05:16 +01:00
streamich
bfc30b99ab feat: 🎸 add useGetSet hook 2018-10-29 14:57:56 +01:00
Va Da
deccec0070
Merge pull request #24 from pex/patch-1
Fix typo in useSetState docs
2018-10-29 13:52:58 +01:00
Roman Ernst
979132568e
Fix typo in useSetState docs 2018-10-29 13:51:43 +01:00
Va Da
749afe6ea9
Merge pull request #22 from maxzitron/docs/add-useHover-example
docs: add useHover demo link
2018-10-29 08:26:40 +01:00
Va Da
ca54bcd56c
Merge pull request #21 from maxzitron/fix/name-import
docs: fix module name typo
2018-10-29 08:08:31 +01:00
Max
9199f829e3 docs: add useHover demo link 2018-10-29 16:06:14 +11:00
Max
aee332fbfc docs: fix module name typo 2018-10-29 15:47:51 +11:00
Va Da
58a3dbe5e6
chore: remove .git file extension from repo URL [skip ci] 2018-10-28 23:27:57 +01:00
semantic-release-bot
71f88a9c2d chore(release): 2.1.0 [skip ci]
# [2.1.0](https://github.com/streamich/react-use.git/compare/v2.0.0...v2.1.0) (2018-10-28)

### Features

* 🎸 add useObservable ([711e831](https://github.com/streamich/react-use.git/commit/711e831))
v2.1.0
2018-10-28 22:25:11 +00:00
Va Da
1b3a416233
Merge pull request #20 from streamich/observables
feat: 🎸 add useObservable
2018-10-28 23:24:11 +01:00
streamich
711e8315ac feat: 🎸 add useObservable 2018-10-28 23:22:46 +01:00
semantic-release-bot
692bb0356a chore(release): 2.0.0 [skip ci]
# [2.0.0](https://github.com/streamich/react-use.git/compare/v1.0.0...v2.0.0) (2018-10-28)

### Features

* 🎸 change API for useToggle hook ([#16](https://github.com/streamich/react-use.git/issues/16)) ([5a6da18](https://github.com/streamich/react-use.git/commit/5a6da18))

### BREAKING CHANGES

* useToggle interface changed
v2.0.0
2018-10-28 21:25:47 +00:00
Pavel Ivanoff
5a6da18e8a feat: 🎸 change API for useToggle hook (#16)
It's better option to decrease useToggle params destruction and keep flexibility

BREAKING CHANGE: useToggle interface changed
2018-10-28 22:24:48 +01:00
semantic-release-bot
fd40601411 chore(release): 1.0.0 [skip ci]
# 1.0.0 (2018-10-28)

### chore

* 🤖 release v1 ([4236cf0](https://github.com/streamich/react-use.git/commit/4236cf0))

### Continuous Integration

* 🎡 store CircleCI artifacts, add git-cz ([690dd5e](https://github.com/streamich/react-use.git/commit/690dd5e))

### Features

* 🎸 add useAsync hook ([258d696](https://github.com/streamich/react-use.git/commit/258d696))
* 🎸 add useAudio hook ([4336aa1](https://github.com/streamich/react-use.git/commit/4336aa1))
* 🎸 add useBattery hook ([73ce535](https://github.com/streamich/react-use.git/commit/73ce535))
* 🎸 add useCounter hook ([79e5b8c](https://github.com/streamich/react-use.git/commit/79e5b8c))
* 🎸 add useCss hook ([2c0a7e4](https://github.com/streamich/react-use.git/commit/2c0a7e4))
* 🎸 add useFavicon hook ([ab1739a](https://github.com/streamich/react-use.git/commit/ab1739a))
* 🎸 add useGeolocation hook ([13a7326](https://github.com/streamich/react-use.git/commit/13a7326))
* 🎸 add useHover hook ([406af20](https://github.com/streamich/react-use.git/commit/406af20))
* 🎸 add useIdle hook ([74d3ece](https://github.com/streamich/react-use.git/commit/74d3ece))
* 🎸 add useLifecycles hook ([f99c89f](https://github.com/streamich/react-use.git/commit/f99c89f))
* 🎸 add useList hook ([4bea508](https://github.com/streamich/react-use.git/commit/4bea508))
* 🎸 add useLocation hook ([46a8e2c](https://github.com/streamich/react-use.git/commit/46a8e2c))
* 🎸 add useLogger hook ([7c38b75](https://github.com/streamich/react-use.git/commit/7c38b75))
* 🎸 add useMap hook ([6509c25](https://github.com/streamich/react-use.git/commit/6509c25))
* 🎸 add useMedia hook ([e1cc9ab](https://github.com/streamich/react-use.git/commit/e1cc9ab))
* 🎸 add useMediaDevices hook ([4ea0277](https://github.com/streamich/react-use.git/commit/4ea0277))
* 🎸 add useMotion hook ([91eb4ea](https://github.com/streamich/react-use.git/commit/91eb4ea))
* 🎸 add useMount and useUnmount hooks ([63a1444](https://github.com/streamich/react-use.git/commit/63a1444))
* 🎸 add useNetwork hook ([5881fa6](https://github.com/streamich/react-use.git/commit/5881fa6))
* 🎸 add useOrientation hook ([c533b97](https://github.com/streamich/react-use.git/commit/c533b97))
* 🎸 add useRaf hook ([26b2593](https://github.com/streamich/react-use.git/commit/26b2593))
* 🎸 add useSetState hook ([972541d](https://github.com/streamich/react-use.git/commit/972541d))
* 🎸 add useSize hook ([620b171](https://github.com/streamich/react-use.git/commit/620b171))
* 🎸 add useSpeech hook ([3b971a2](https://github.com/streamich/react-use.git/commit/3b971a2))
* 🎸 add useSprgin hook ([b4fe5b0](https://github.com/streamich/react-use.git/commit/b4fe5b0))
* 🎸 add useTimeout hook ([86f094e](https://github.com/streamich/react-use.git/commit/86f094e))
* 🎸 add useTitle hook ([1bff6d8](https://github.com/streamich/react-use.git/commit/1bff6d8))
* 🎸 add useToggle() hook ([a36dceb](https://github.com/streamich/react-use.git/commit/a36dceb))
* 🎸 add useTween hook ([877343e](https://github.com/streamich/react-use.git/commit/877343e))
* 🎸 add useWindowSize() hook ([2c46899](https://github.com/streamich/react-use.git/commit/2c46899))
* 🎸 do work on useLocaStorage ([2541716](https://github.com/streamich/react-use.git/commit/2541716))
* 🎸 improve useSize, pass through state to the element ([5b1356a](https://github.com/streamich/react-use.git/commit/5b1356a))

### BREAKING CHANGES

* make semantic-release bump version
* Released v1.0.0
v1.0.0
2018-10-28 21:20:40 +00:00
Va Da
d58a89ac0e
Merge pull request #18 from streamich/fix-ci
ci: 🎡 setup GitHub remove before uploading to gh-pages
2018-10-28 22:19:35 +01:00
streamich
3208e1de3f ci: 🎡 setup GitHub remove before uploading to gh-pages 2018-10-28 22:18:23 +01:00
Va Da
b3d24ef0eb
Merge pull request #17 from streamich/semantic-release
Semantic release
2018-10-28 22:10:45 +01:00
streamich
5a77a63d53 ci: 🎡 send correct link in GitHub status update 2018-10-28 22:08:43 +01:00
streamich
690dd5e327 ci: 🎡 store CircleCI artifacts, add git-cz
BREAKING CHANGE: make semantic-release bump version
2018-10-28 22:03:25 +01:00
streamich
22c4dc3f86 ci: 🎡 add semantic-release 2018-10-28 21:57:40 +01:00
streamich
501955a1fd ci: 🎡 add CircleCI config 2018-10-28 21:56:01 +01:00
Va Da
bf3723fadc
Merge pull request #15 from streamich/storybook2
docs: ✏️ add docs to Storybook demos
2018-10-28 15:19:49 +01:00
streamich
5728cc958c docs: ✏️ add docs to Storybook demos 2018-10-28 15:11:43 +01:00
Va Da
738b79260e
Merge pull request #14 from streamich/storybook
chore: 🤖 publish static Storybook
2018-10-28 14:34:18 +01:00
streamich
59a9407876 chore: 🤖 publish static Storybook 2018-10-28 14:32:06 +01:00
Va Da
535a2bca12
docs: add useSetState demo 2018-10-28 14:19:47 +01:00
Va Da
e07aeb8293
Merge pull request #13 from streamich/demos
docs: ✏️ add useBattery demo
2018-10-28 13:53:54 +01:00
streamich
2473b60aff docs: ✏️ add useTween demo 2018-10-28 13:51:37 +01:00
streamich
d6ec5df0ff docs: ✏️ change demo image badge 2018-10-28 13:45:58 +01:00
streamich
8334b3b4f5 docs: ✏️ add space before demo emoji 2018-10-28 13:40:18 +01:00
streamich
508dfa62aa docs: ✏️ use 🚀 for demo 2018-10-28 13:38:58 +01:00
streamich
53afb8652b docs: ✏️ add useWindowSize demo 2018-10-28 13:37:28 +01:00