1378 Commits

Author SHA1 Message Date
semantic-release-bot
8a16c1de1c chore(release): 12.2.3 [skip ci]
## [12.2.3](https://github.com/streamich/react-use/compare/v12.2.2...v12.2.3) (2019-10-05)

### Bug Fixes

* move react-wait types to dev dependencies, closes [#644](https://github.com/streamich/react-use/issues/644) ([49372ac](https://github.com/streamich/react-use/commit/49372ac))
v12.2.3
2019-10-05 06:06:17 +00:00
Ward Oosterlijnck
49372acaed fix: move react-wait types to dev dependencies, closes #644 2019-10-05 16:02:42 +10:00
Renovate Bot
29f07be8d5 chore(deps): update react monorepo to v16.10.2 2019-10-03 22:33:30 +00:00
Renovate Bot
a0eebfe70a chore(deps): update dependency @testing-library/react-hooks to v2.0.3 2019-10-03 19:56:56 +00:00
Renovate Bot
42b31b9e36 chore(deps): update dependency husky to v3.0.8 2019-10-02 03:39:46 +00:00
Renovate Bot
7f3f7bec81 chore(deps): update dependency lint-staged to v9.4.1 2019-10-01 06:17:13 +00:00
Renovate Bot
b061465b10 chore(deps): update dependency ts-loader to v6.2.0 2019-09-29 07:59:07 +00:00
Renovate Bot
1d433aec89 chore(deps): update react monorepo to v16.10.1 2019-09-28 19:47:57 +00:00
Renovate Bot
a0b3a420f7 chore(deps): update yarn to v1.19.0 2019-09-28 17:51:14 +00:00
Renovate Bot
0330664e9f chore(deps): update dependency husky to v3.0.7 2019-09-28 02:57:10 +00:00
Renovate Bot
18402ce514 chore(deps): update dependency husky to v3.0.6 2019-09-28 01:29:15 +00:00
Renovate Bot
d3136b9dba chore(deps): update react monorepo to v16.10.0 2019-09-27 21:49:50 +00:00
Renovate Bot
6768efe887 chore(deps): update dependency lint-staged to v9.4.0 2019-09-26 11:39:47 +00:00
semantic-release-bot
b5700f2664 chore(release): 12.2.2 [skip ci]
## [12.2.2](https://github.com/streamich/react-use/compare/v12.2.1...v12.2.2) (2019-09-26)

### Bug Fixes

* useDebounce remove deps from function arguments ([#623](https://github.com/streamich/react-use/issues/623)) ([23d6a5a](https://github.com/streamich/react-use/commit/23d6a5a))
v12.2.2
2019-09-26 08:16:24 +00:00
Ward
23d6a5af78
fix: useDebounce remove deps from function arguments (#623) 2019-09-26 10:14:31 +02:00
Renovate Bot
8c0d178739 chore(deps): update yarn to v1.17.3 2019-09-25 12:30:23 +00:00
Renovate Bot
e89ec97f46 chore(deps): update node.js to v10.16.3 2019-09-25 10:33:26 +00:00
Renovate Bot
e6077c1e27 chore(deps): update babel monorepo to v7.6.2 2019-09-23 22:50:27 +00:00
semantic-release-bot
64048a0039 chore(release): 12.2.1 [skip ci]
## [12.2.1](https://github.com/streamich/react-use/compare/v12.2.0...v12.2.1) (2019-09-23)

### Bug Fixes

* remove attempt from deps of retry in useAsyncRetry ([#614](https://github.com/streamich/react-use/issues/614)) ([adce59e](https://github.com/streamich/react-use/commit/adce59e))
v12.2.1
2019-09-23 17:09:56 +00:00
Yingya Zhang
adce59ec32 fix: remove attempt from deps of retry in useAsyncRetry (#614) 2019-09-23 19:07:51 +02:00
Renovate Bot
24b614c324 chore(deps): update dependency lint-staged to v9.3.0 2019-09-22 12:25:55 +00:00
Sergei Droganov
15e9bd2bd5 rename pop ro remove 2019-09-22 15:10:27 +03:00
Renovate Bot
18e7c54760 chore(deps): update dependency ts-loader to v6.1.2 2019-09-21 07:57:52 +00:00
Renovate Bot
b425eb52f9 chore(deps): update dependency ts-loader to v6.1.1 2019-09-20 08:45:55 +00:00
Ward Oosterlijnck
86c1f87e8e docs: added useSize initial size parameter, related #584 2019-09-18 15:52:54 +02:00
Sergei Droganov
a8b41f5e65 useQueue hook 2019-09-18 15:47:23 +03:00
Renovate Bot
e2616735a3 Update dependency tslint-react to v4.1.0 2019-09-17 17:53:22 +00:00
Renovate Bot
6dbed8b54c Update dependency ts-node to v8.4.1 2019-09-16 01:51:46 +00:00
Tane Morgan
66f206ec4d Use tslib to dedupe TypeScript helper functions 2019-09-16 10:37:26 +12:00
Renovate Bot
3ab2630a9f Update dependency ts-loader to v6.1.0 2019-09-10 22:50:38 +00:00
Renovate Bot
26174f2cdb Update dependency tslint to v5.20.0 2019-09-10 01:49:02 +00:00
Renovate Bot
e7cdec3967 Update babel monorepo to v7.6.0 2019-09-06 18:56:58 +00:00
macinjoke
0fb314863e improve useEvent type inference 2019-09-06 23:14:34 +09:00
macinjoke
fd8905a25e add useEvent test 2019-09-06 23:14:12 +09:00
Anton Zinovyev
4fc2e3631b
Merge pull request #592 from Granipouss/feat-memoized-useMap
Memoized utils methods for useMap
2019-09-05 16:49:53 +03:00
Brendan Daoud
9e48050de4 Test for 'set' callback also 2019-09-05 15:36:35 +02:00
Brendan Daoud
d1f3afbabd Memoized utils methods for useMap 2019-09-05 15:13:15 +02:00
ltm
d02734e354 test:add test for useThrottle and useThrottleFn (#585)
* test(useThrottleFn):add test for `useThrottleFn`

* test(useThrottle):add test for `useThrottle`

* chore(deps): update dependency rxjs to v6.5.3

* test(useThrottle):update the `useThrottle.test.ts` according to the requested changes.

* split single test into differents ones
* clear all timers after each tests
* reset timers to real ones on afterAll

* test:update the tests for `useThrottle` and `useThrottleFn`

* same changes as `useThrottle.test.ts` on `useThrottleFn.test.ts`
* remove some assertion on `useThrottle.test.ts`
2019-09-04 15:43:22 +02:00
xobotyi
9543e23ca3 useValidatableState implementation; 2019-09-04 04:10:11 +03:00
Renovate Bot
71fb03083a chore(deps): update dependency rxjs to v6.5.3 2019-09-03 21:55:25 +00:00
Ward Oosterlijnck
e88f0ceb8a docs: fix and improve useCopyToClipboard documentation 2019-09-02 23:15:37 +10:00
semantic-release-bot
1ee1cb90b9 chore(release): 12.2.0 [skip ci]
# [12.2.0](https://github.com/streamich/react-use/compare/v12.1.0...v12.2.0) (2019-09-02)

### Features

* improve useWindowSize performance rAF ([60a4937](https://github.com/streamich/react-use/commit/60a4937))
v12.2.0
2019-09-02 12:08:48 +00:00
Ward
60a49372e7
feat: improve useWindowSize performance rAF 2019-09-02 22:06:53 +10:00
Vadim Dalecky
b96f097653
Merge pull request #573 from lintuming/master
feat: add useMeasure
2019-09-01 23:22:39 +02:00
semantic-release-bot
99f663940a chore(release): 12.1.0 [skip ci]
# [12.1.0](https://github.com/streamich/react-use/compare/v12.0.0...v12.1.0) (2019-09-01)

### Features

* 🎸 add useSearchParam() hook ([b22f32f](https://github.com/streamich/react-use/commit/b22f32f))
* 🎸 support server-side rendering in useSearchParam() hook ([64ac924](https://github.com/streamich/react-use/commit/64ac924))
v12.1.0
2019-09-01 21:20:36 +00:00
Vadim Dalecky
3f08740038
Merge pull request #583 from streamich/useSearchParam
useSearchParam
2019-09-01 23:19:09 +02:00
streamich
a53e63ff32 ci: 🎡 upgrade CircleCI Node version to 12 2019-09-01 23:15:47 +02:00
semantic-release-bot
b366c25960 chore(release): 12.0.0 [skip ci]
# [12.0.0](https://github.com/streamich/react-use/compare/v11.3.2...v12.0.0) (2019-09-01)

### Features

* store "paused" instead of "isPlaying" in media state ([ff900d5](https://github.com/streamich/react-use/commit/ff900d5))

### BREAKING CHANGES

* now media players return "paused" instead of "isPlaying" in their state.
v12.0.0
2019-09-01 21:14:19 +00:00
Vadim Dalecky
ff900d5545
feat: store "paused" instead of "isPlaying" in media state
BREAKING CHANGE: now media players return "paused" instead of "isPlaying" in their state.
2019-09-01 23:12:26 +02:00
streamich
64ac924edf feat: 🎸 support server-side rendering in useSearchParam() hook 2019-09-01 23:07:43 +02:00