956 Commits

Author SHA1 Message Date
petterive
6875e13d60 feat: 🎸 add useUpsert 2019-08-05 22:51:05 +02:00
semantic-release-bot
797cdea7eb chore(release): 10.5.0 [skip ci]
# [10.5.0](https://github.com/streamich/react-use/compare/v10.4.0...v10.5.0) (2019-08-03)

### Features

* add useRafLoop hook ([be7d7c3](https://github.com/streamich/react-use/commit/be7d7c3))
v10.5.0
2019-08-03 00:38:02 +00:00
streamich
9792175a72 chore: 🤖 fix master 2019-08-03 02:35:28 +02:00
Vadim Dalecky
be7d7c314b
feat: add useRafLoop hook 2019-08-03 02:29:55 +02:00
Anton Zinovyev
da3628e201
Merge branch 'master' into master 2019-08-03 02:34:02 +03:00
xobotyi
ca00d64f61 Much shortened and simplified the index file by directly reexporting hooks; 2019-08-03 02:31:23 +03:00
semantic-release-bot
8cb81c62a4 chore(release): 10.4.0 [skip ci]
# [10.4.0](https://github.com/streamich/react-use/compare/v10.3.1...v10.4.0) (2019-08-02)

### Features

* add useMountedState hook ([9081b99](https://github.com/streamich/react-use/commit/9081b99))
v10.4.0
2019-08-02 23:26:11 +00:00
xobotyi
2af0bc6797 Boolean returns check fixed; 2019-08-03 02:25:10 +03:00
streamich
9e82f1b1a4 chore: 🤖 fix master after late merge 2019-08-03 01:22:17 +02:00
xobotyi
b586707ce5 Useless null type; 2019-08-03 02:21:58 +03:00
xobotyi
8f3665b071 Fix docs; 2019-08-03 02:19:28 +03:00
xobotyi
14a60c97dc Decrease amount of required calls (machine could be busy); 2019-08-03 02:18:10 +03:00
xobotyi
322b45f36c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	docs/useRafLoop.md
2019-08-03 02:15:27 +03:00
xobotyi
2299646c57 No sense to pass deps due to we can observe the callback itself. 2019-08-03 02:13:12 +03:00
Vadim Dalecky
8e13ddce36
docs: format useRafLoop.md 2019-08-03 01:08:15 +02:00
Vadim Dalecky
9081b995ff
feat: add useMountedState hook 2019-08-03 01:03:50 +02:00
Vadim Dalecky
5e0ff869de
Merge branch 'master' into use-mounted-state 2019-08-03 01:03:21 +02:00
Vadim Dalecky
c2ebba828c
docs: put useMountedState and useRefMouted on one line in README 2019-08-03 00:58:22 +02:00
semantic-release-bot
192085a3a8 chore(release): 10.3.1 [skip ci]
## [10.3.1](https://github.com/streamich/react-use/compare/v10.3.0...v10.3.1) (2019-08-02)

### Bug Fixes

* **storybook:** fix useKeyboardJs import path ([b7481f6](https://github.com/streamich/react-use/commit/b7481f6))
* **useKeyboardJs:** fix argument type error ([8c820ce](https://github.com/streamich/react-use/commit/8c820ce))
* allow string list in useKeyboardJs hook ([aecbd0b](https://github.com/streamich/react-use/commit/aecbd0b))
v10.3.1
2019-08-02 22:48:31 +00:00
streamich
e0e8d57046 chore: 🤖 fix gh-pages command after it was upgraded 2019-08-03 00:45:17 +02:00
Vadim Dalecky
aecbd0bb70
fix: allow string list in useKeyboardJs hook 2019-08-03 00:33:18 +02:00
Vadim Dalecky
4a87d637c9
test: add test for state hooks 2019-08-03 00:29:36 +02:00
Mario Beltrán Alarcón
716a7d483d Add useSetState tests 2019-08-02 16:01:08 +02:00
Mario Beltrán Alarcón
281c288c04 Rename usePrevious tests file 2019-08-02 14:41:20 +02:00
Mario Beltrán Alarcón
4ae76748cd Update usePrevious tests 2019-08-02 14:38:06 +02:00
Mario Beltrán Alarcón
f058ff9739 Move useObservable tests to react-hooks-testing-library 2019-08-02 12:13:43 +02:00
dabuside
b7481f6cd5 fix(storybook): fix useKeyboardJs import path 2019-08-02 13:45:47 +08:00
dabuside
8c820ce063 fix(useKeyboardJs): fix argument type error 2019-08-02 12:19:20 +08:00
Mario Beltrán Alarcón
1264b2fba7 Update yarn.lock 2019-08-02 01:37:14 +02:00
Mario Beltrán Alarcón
42b1097706 Merge branch 'forked-master'
# Conflicts:
#	package.json
#	yarn.lock
2019-08-02 01:34:41 +02:00
Mario Beltrán Alarcón
ebfba06f12 Update useObservable tests 2019-08-02 01:32:24 +02:00
Mario Beltrán Alarcón
d143859fc9 Add useMap tests 2019-08-01 23:39:23 +02:00
Renovate Bot
a53c8c5e0e chore(deps): update dependency gh-pages to v2.1.0 2019-07-31 22:33:33 +00:00
Vadim Dalecky
e689c010fa
refactor: use re-exporting in index.ts 2019-07-31 13:24:01 +02:00
xobotyi
ea04eb09ae Much shortened and simplified the index file by directly reexporting hooks; 2019-07-31 13:48:47 +03:00
Renovate Bot
0b99c8c11e chore(deps): update storybook monorepo to v5.1.10 2019-07-31 09:28:34 +00:00
Renovate Bot
426d5becda chore(deps): update dependency markdown-loader to v5.1.0 2019-07-31 09:10:27 +00:00
Renovate Bot
f2b5c6c8ed chore(deps): update dependency semantic-release to v15.13.19 2019-07-30 23:48:32 +00:00
Mario Beltrán Alarcón
93e76dc48f Add useList additional test 2019-07-31 00:15:19 +02:00
Mario Beltrán Alarcón
85f5d26158 Add useList tests 2019-07-31 00:13:28 +02:00
xobotyi
fb8f9821b8 README.md 2019-07-31 00:22:08 +03:00
xobotyi
5350e8d9ee useMountedState as a replacement for useRefMounted:
- it has more obvious name;
 - returns a function that check mount state -> more handy ti use due to less to write;
 - has tests;
2019-07-31 00:05:12 +03:00
Mario Beltrán Alarcón
962f580d19 Add createReducer tests 2019-07-30 22:49:43 +02:00
xobotyi
6d55666aa7 useRafLoop - React hook that calls given function inside the RAF loop. 2019-07-30 23:14:08 +03:00
Mario Beltrán Alarcón
259e517e37 Update useDefault tests to new architecture 2019-07-30 20:56:57 +02:00
Mario Beltrán Alarcón
85fc3b2701 Fix tests after RTL scoped package update 2019-07-30 20:22:04 +02:00
Mario Beltrán Alarcón
894b17420d Merge branch 'forked-master'
# Conflicts:
#	package.json
2019-07-30 20:19:36 +02:00
Renovate Bot
26ce563cdd chore(deps): update dependency @types/jest to v24.0.16 2019-07-29 23:49:11 +00:00
Renovate Bot
4a945363e2 chore(deps): update dependency husky to v3.0.2 2019-07-29 18:58:31 +00:00
semantic-release-bot
14bf6dec75 chore(release): 10.3.0 [skip ci]
# [10.3.0](https://github.com/streamich/react-use/compare/v10.2.0...v10.3.0) (2019-07-26)

### Features

* add useDefault hook ([ade0557](https://github.com/streamich/react-use/commit/ade0557))
v10.3.0
2019-07-26 20:14:21 +00:00