1048 Commits

Author SHA1 Message Date
Mario Beltrán Alarcón
86355db002 Merge branch 'original-master' into animation-block-tests
# Conflicts:
#	package.json
#	yarn.lock
2019-08-21 23:42:10 +02:00
Mario Beltrán Alarcón
3c43c4b05d Add useSpring tests 2019-08-21 23:36:50 +02:00
Renovate Bot
255c6006c2 chore(deps): update dependency tslint to v5.19.0 2019-08-20 23:52:15 +00:00
Renovate Bot
44181d44e6 chore(deps): pin dependency raf-stub to 3.0.0 2019-08-20 22:44:41 +00:00
semantic-release-bot
528258561f chore(release): 10.8.0 [skip ci]
# [10.8.0](https://github.com/streamich/react-use/compare/v10.7.1...v10.8.0) (2019-08-20)

### Bug Fixes

* Reworked useBattery hook ([1069060](https://github.com/streamich/react-use/commit/1069060))
* succeed useRafLoop tests ([09167df](https://github.com/streamich/react-use/commit/09167df))

### Features

* 🎸 support useBattery hook on server side ([5d31cf0](https://github.com/streamich/react-use/commit/5d31cf0))
* 🎸 use only one useState and one useEffect call ([2d0fabf](https://github.com/streamich/react-use/commit/2d0fabf))
v10.8.0
2019-08-20 21:45:30 +00:00
Vadim Dalecky
09167df364
fix: succeed useRafLoop tests 2019-08-20 23:43:13 +02:00
streamich
6e5cfaccef chore: 🤖 fix master build 2019-08-20 23:37:42 +02:00
xobotyi
be950bbc41 Fix useRafLoop tests. Now it always succeed. 2019-08-21 00:31:18 +03:00
Vadim Dalecky
106906013f
fix: Reworked useBattery hook 2019-08-20 23:25:05 +02:00
xobotyi
ed5f277b0b Simpler navigator detection (still SSR compatible); 2019-08-20 23:44:11 +03:00
semantic-release-bot
49aba72d9c chore(release): 10.7.1 [skip ci]
## [10.7.1](https://github.com/streamich/react-use/compare/v10.7.0...v10.7.1) (2019-08-20)

### Bug Fixes

* async test warnings ([#543](https://github.com/streamich/react-use/issues/543)) ([7af237e](https://github.com/streamich/react-use/commit/7af237e))
v10.7.1
2019-08-20 20:41:48 +00:00
Vadim Dalecky
aae806deb9
Mark useRefMounted as deprecated (#539)
Mark useRefMounted as deprecated
2019-08-20 22:35:27 +02:00
Vadim Dalecky
7af237e9b4
fix: async test warnings (#543)
fix: async test warnings
2019-08-20 22:34:08 +02:00
streamich
2d0fabf9ac feat: 🎸 use only one useState and one useEffect call 2019-08-20 20:17:55 +02:00
streamich
5d31cf0dbc feat: 🎸 support useBattery hook on server side 2019-08-20 19:40:22 +02:00
xobotyi
4a7fe73405 fix useAsyncFn tests warnings; 2019-08-20 13:33:42 +03:00
xobotyi
8886f2b885 fix useAsync tests warnings; 2019-08-20 13:19:25 +03:00
xobotyi
61b0355e5c useRefMounted deprecation; 2019-08-20 00:58:41 +03:00
xobotyi
0e9894d28e Rework vol.2 =)
Added fetching indicator;
Fixed isMounted state;
Mock function returned for browsers not supporting the Battery API;
Using react-fast-compare to avoid useless updates;
2019-08-20 00:50:59 +03:00
Anton Zinovyev
3782dc7a0c
Merge pull request #538 from streamich/renovate/jest-24.x
chore(deps): update dependency @types/jest to v24.0.18
2019-08-19 21:43:28 +03:00
Renovate Bot
70ca004983
chore(deps): update dependency @types/jest to v24.0.18 2019-08-19 17:50:01 +00:00
semantic-release-bot
da1f00799e chore(release): 10.7.0 [skip ci]
# [10.7.0](https://github.com/streamich/react-use/compare/v10.6.4...v10.7.0) (2019-08-19)

### Features

* 🎸 add useUpsert ([6875e13](https://github.com/streamich/react-use/commit/6875e13))
* 🎸 export useUpsert from index ([3eda2b2](https://github.com/streamich/react-use/commit/3eda2b2))
* add useUpsert ([a7c2899](https://github.com/streamich/react-use/commit/a7c2899))
v10.7.0
2019-08-19 17:35:50 +00:00
Vadim Dalecky
a7c2899382
feat: add useUpsert 2019-08-19 18:22:02 +02:00
semantic-release-bot
d273d99df3 chore(release): 10.6.4 [skip ci]
## [10.6.4](https://github.com/streamich/react-use/compare/v10.6.3...v10.6.4) (2019-08-19)

### Bug Fixes

* return from useUpdateEffect ([2f70dc2](https://github.com/streamich/react-use/commit/2f70dc2))
* useUpdateEffect add return ([8b24df4](https://github.com/streamich/react-use/commit/8b24df4))
v10.6.4
2019-08-19 16:00:55 +00:00
Vadim Dalecky
2f70dc261d
fix: return from useUpdateEffect 2019-08-19 17:58:58 +02:00
Vadim Dalecky
8700ad241b
chore: dedupe yarn.lock 2019-08-19 17:54:39 +02:00
semantic-release-bot
da88600af0 chore(release): 10.6.3 [skip ci]
## [10.6.3](https://github.com/streamich/react-use/compare/v10.6.2...v10.6.3) (2019-08-19)

### Bug Fixes

* allow import default for ESM ([bd3a062](https://github.com/streamich/react-use/commit/bd3a062))
* rollup build error: Cannot call a namespace ('writeText') ([b3e672b](https://github.com/streamich/react-use/commit/b3e672b))
v10.6.3
2019-08-19 15:54:21 +00:00
Vadim Dalecky
bd3a0622a1
fix: allow import default for ESM 2019-08-19 17:52:05 +02:00
xobotyi
310fb6dc55 Reworked useBattery hook;
Fix: #308;
2019-08-19 12:06:20 +03:00
尽龙
8b24df411b fix: useUpdateEffect add return 2019-08-19 15:14:38 +08:00
xobotyi
6311f3a8ce Update @types/react to react's respective version;
Deduplicated yarn.lock;
Fixed some problem with dependencies versions (tsc now runs properly);
2019-08-19 07:23:35 +03:00
尽龙
b3e672b66c fix: rollup build error: Cannot call a namespace ('writeText') 2019-08-19 11:07:58 +08:00
semantic-release-bot
b93bb0a6ed chore(release): 10.6.2 [skip ci]
## [10.6.2](https://github.com/streamich/react-use/compare/v10.6.1...v10.6.2) (2019-08-18)

### Bug Fixes

* 🐛 fix master ([d1df7a5](https://github.com/streamich/react-use/commit/d1df7a5))
v10.6.2
2019-08-18 13:36:31 +00:00
streamich
d1df7a5aec fix: 🐛 fix master 2019-08-18 15:32:33 +02:00
Anton Zinovyev
a570174e39
Merge pull request #529 from streamich/renovate/husky-3.x
Update dependency husky to v3.0.4
2019-08-18 14:15:41 +03:00
Renovate Bot
898da079dd
Update dependency husky to v3.0.4 2019-08-18 11:15:28 +00:00
Anton Zinovyev
0f2d7219fa
Merge pull request #523 from streamich/renovate/rimraf-3.x
chore(deps): update dependency rimraf to v3
2019-08-18 14:14:20 +03:00
Anton Zinovyev
4d2f532f32
Merge pull request #528 from streamich/renovate/jest-monorepo
chore(deps): update dependency jest to v24.9.0
2019-08-18 14:14:07 +03:00
Anton Zinovyev
a4100845fb
Merge pull request #527 from streamich/renovate/react-16.x
chore(deps): update dependency @types/react to v16.9.2
2019-08-18 14:13:53 +03:00
semantic-release-bot
4c772f9634 chore(release): 10.6.1 [skip ci]
## [10.6.1](https://github.com/streamich/react-use/compare/v10.6.0...v10.6.1) (2019-08-17)

### Bug Fixes

* useUpdateEffect run on the wrong time ([1d5cd10](https://github.com/streamich/react-use/commit/1d5cd10))
v10.6.1
2019-08-17 20:37:08 +00:00
Vadim Dalecky
8224badfc5
Merge pull request #514 from brickspert/master
fix: useUpdateEffect run on the wrong time
2019-08-17 22:34:36 +02:00
Renovate Bot
2351185e85 chore(deps): update dependency semantic-release to v15.13.21 2019-08-17 18:48:16 +00:00
Renovate Bot
84b4f77dcf chore(deps): update dependency lint-staged to v9.2.3 2019-08-17 17:47:22 +00:00
Renovate Bot
2ef813f3af
chore(deps): update dependency @types/react to v16.9.2 2019-08-17 17:47:14 +00:00
Vadim Dalecky
66b175dbff
refactor: use useMountedState instead of useRefMounted 2019-08-17 18:26:15 +02:00
semantic-release-bot
09a5fa023b chore(release): 10.6.0 [skip ci]
# [10.6.0](https://github.com/streamich/react-use/compare/v10.5.0...v10.6.0) (2019-08-17)

### Features

* add min/max to useNumber ([586faab](https://github.com/streamich/react-use/commit/586faab))
v10.6.0
2019-08-17 16:24:11 +00:00
Vadim Dalecky
586faabe74
feat: add min/max to useNumber 2019-08-17 18:18:20 +02:00
Vadim Dalecky
0ce8623345
chore: add GitHub issue templates 2019-08-17 18:10:04 +02:00
streamich
909f9bd3f3 Merge branch 'master' into #273-impl 2019-08-17 18:04:20 +02:00
Vadim Dalecky
6df6a0ec36
fix support IE in useMouse 2019-08-17 17:56:56 +02:00