Jakkapat Boonroj
13ac976b0d
change word
2019-10-23 10:33:36 +07:00
Jakkapat Boonroj
75827fd497
add createBreakpoint in readme
2019-10-23 10:21:55 +07:00
Jakkapat Boonroj
fa08f93004
rename to createBreakpoint
2019-10-23 10:15:38 +07:00
Jakkapat Boonroj
20bdd50788
add useMemo
2019-10-23 10:13:25 +07:00
Jakkapat Boonroj
9c779b256b
rename variable
2019-10-23 10:11:29 +07:00
Jakkapat Boonroj
8cdcfddae4
✨ create useBreakpoint
2019-10-22 22:35:25 +07:00
Renovate Bot
a1144741ea
chore(deps): update dependency @shopify/jest-dom-mocks to v2.8.4
2019-10-17 17:26:08 +00:00
semantic-release-bot
e59f63a1f6
chore(release): 12.7.1 [skip ci]
...
## [12.7.1](https://github.com/streamich/react-use/compare/v12.7.0...v12.7.1 ) (2019-10-17)
### Bug Fixes
* example in the docs; ([7f54cad](https://github.com/streamich/react-use/commit/7f54cad ))
* rename story's mediator and add `g` flag to it's regex; ([652b318](https://github.com/streamich/react-use/commit/652b318 ))
v12.7.1
2019-10-17 13:45:01 +00:00
Anton Zinovyev
851e3734b8
Merge pull request #676 from streamich/useMediatedState
...
feat: useMediatedState
2019-10-17 16:42:27 +03:00
semantic-release-bot
6e26237b5e
chore(release): 12.7.0 [skip ci]
...
# [12.7.0](https://github.com/streamich/react-use/compare/v12.6.0...v12.7.0 ) (2019-10-17)
### Bug Fixes
* error throw tests; ([056875b](https://github.com/streamich/react-use/commit/056875b ))
* useMultiStateValidator readme description; ([8c7f7f5](https://github.com/streamich/react-use/commit/8c7f7f5 ))
### Features
* useMultiStateValidator ([ae26988](https://github.com/streamich/react-use/commit/ae26988 ))
v12.7.0
2019-10-17 13:39:31 +00:00
Anton Zinovyev
097fbf2c8e
Merge branch 'master' into useMediatedState
2019-10-17 16:38:04 +03:00
Anton Zinovyev
827732dea4
Merge pull request #683 from streamich/useMultiStateValidator
...
feat: useMultiStateValidator
2019-10-17 16:37:17 +03:00
xobotyi
056875ba53
fix: error throw tests;
...
fix: better throw already `new Error`;
2019-10-17 10:47:44 +03:00
Renovate Bot
b256bb2b5c
chore(deps): update dependency @shopify/jest-dom-mocks to v2.8.3
2019-10-16 21:46:26 +00:00
semantic-release-bot
109c6c4b7e
chore(release): 12.6.0 [skip ci]
...
# [12.6.0](https://github.com/streamich/react-use/compare/v12.5.0...v12.6.0 ) (2019-10-16)
### Features
* useRafState ([#684 ](https://github.com/streamich/react-use/issues/684 )) ([00816a4](https://github.com/streamich/react-use/commit/00816a4 ))
v12.6.0
2019-10-16 12:07:50 +00:00
xobotyi
7f54cad642
fix: example in the docs;
2019-10-16 15:07:33 +03:00
Ward
00816a4ed0
feat: useRafState ( #684 )
2019-10-16 23:05:50 +11:00
xobotyi
652b318905
fix: rename story's mediator and add g flag to it's regex;
...
fix: typo in readme;
2019-10-16 14:46:15 +03:00
xobotyi
8c7f7f5b72
fix: useMultiStateValidator readme description;
2019-10-16 14:32:11 +03:00
xobotyi
ae2698891b
feat: useMultiStateValidator
2019-10-16 14:23:54 +03:00
Ward
1fa104506e
docs: code coverage ( #682 )
2019-10-16 20:10:10 +11:00
Ward
9e4ad43be9
docs: add contributing guidelines ( #679 )
2019-10-15 22:03:08 +11:00
Renovate Bot
695faa5f97
Update Node.js to v12.12.0
2019-10-15 02:41:24 +00:00
Renovate Bot
100a340fbb
Update dependency @types/jest to v24.0.19
2019-10-14 20:39:22 +00:00
xobotyi
828e116fc3
Fix the yarn.lock file due to is been broken by deduping.
2019-10-14 22:16:41 +03:00
Anton Zinovyev
88bbc47c32
Merge pull request #607 from tanem/tslib
...
Use tslib to dedupe TypeScript helper functions from built files
2019-10-14 21:59:58 +03:00
Anton Zinovyev
317c81eba5
Merge branch 'master' into tslib
2019-10-14 21:59:47 +03:00
xobotyi
d315b6c85e
Merge origin's yarn.lock + deduplicate it;
2019-10-14 21:54:42 +03:00
xobotyi
cb4a735b84
useMediatedState implementation, tests and docs;
2019-10-14 20:30:07 +03:00
Renovate Bot
7dd7ba87ad
chore(deps): update dependency fork-ts-checker-webpack-plugin to v1.5.1
2019-10-14 09:49:28 +00:00
Renovate Bot
5bf8f8e9ee
chore(deps): update node.js to v12.11.1
2019-10-13 22:28:24 +00:00
semantic-release-bot
7955c3e1e0
chore(release): 12.5.0 [skip ci]
...
# [12.5.0](https://github.com/streamich/react-use/compare/v12.4.0...v12.5.0 ) (2019-10-13)
### Features
* useList allow pushing multiple items ([#621 ](https://github.com/streamich/react-use/issues/621 )) ([a624364](https://github.com/streamich/react-use/commit/a624364 ))
v12.5.0
2019-10-13 20:40:24 +00:00
Ward
a624364d8b
feat: useList allow pushing multiple items ( #621 )
2019-10-14 07:38:04 +11:00
Ward
a38f026beb
refactor: useInterval refactor + docs ( #626 )
2019-10-13 17:54:30 +11:00
Renovate Bot
2310f54091
chore(deps): update dependency husky to v3.0.9
2019-10-13 01:32:20 +00:00
Jose Felix
6afa6b4793
tests: useDeepCompareEffect and useUpdateEffect tests ( #663 )
2019-10-13 11:13:43 +11:00
Ward Oosterlijnck
282f04b6f6
docs: useMeasure and useSize docs tidy
2019-10-12 21:03:35 +11:00
renovate[bot]
fb5a925fea
chore(deps): pin dependency @shopify/jest-dom-mocks to 2.8.2 ( #671 )
2019-10-12 20:03:46 +11:00
semantic-release-bot
38dffea37c
chore(release): 12.4.0 [skip ci]
...
# [12.4.0](https://github.com/streamich/react-use/compare/v12.3.2...v12.4.0 ) (2019-10-12)
### Features
* useIntersection ([#652 ](https://github.com/streamich/react-use/issues/652 )) ([d5f359f](https://github.com/streamich/react-use/commit/d5f359f ))
v12.4.0
2019-10-12 08:24:03 +00:00
Kevin Norris
d5f359f7e3
feat: useIntersection ( #652 )
...
React sensor hook that tracks the changes in the intersection of a target element with an ancestor element or with a top-level document's viewport, using the Intersection Observer API
2019-10-12 19:22:23 +11:00
Kevin Norris
87d461319a
tests: useLogger ( #670 )
2019-10-12 19:12:51 +11:00
Ward Oosterlijnck
8fcf8d4dd7
docs: fix useStateValidator story
2019-10-12 18:41:54 +11:00
semantic-release-bot
c0b3c3021e
chore(release): 12.3.2 [skip ci]
...
## [12.3.2](https://github.com/streamich/react-use/compare/v12.3.1...v12.3.2 ) (2019-10-12)
### Bug Fixes
* improve use of refs in dependency lists ([#655 ](https://github.com/streamich/react-use/issues/655 )) ([ed8e26d](https://github.com/streamich/react-use/commit/ed8e26d ))
v12.3.2
2019-10-12 07:29:20 +00:00
Ward
ed8e26d7c2
fix: improve use of refs in dependency lists ( #655 )
2019-10-12 18:27:31 +11:00
Anton Zinovyev
d4aec7a6ae
Merge pull request #588 from streamich/feat-useValidatableState
...
feat: useStateValidator
2019-10-11 04:35:31 +03:00
Anton Zinovyev
9ab8698fd2
Merge branch 'master' into feat-useValidatableState
2019-10-11 04:29:34 +03:00
xobotyi
1920f8b135
Readme update
2019-10-11 04:26:45 +03:00
xobotyi
b998f3d397
useValidatableState -> useStateValidator;
...
It is more suitable due to more flexible usage;
2019-10-11 03:59:06 +03:00
Renovate Bot
655c49df85
chore(deps): update dependency @babel/core to v7.6.4
2019-10-10 14:40:30 +00:00
semantic-release-bot
823f94f321
chore(release): 12.3.1 [skip ci]
...
## [12.3.1](https://github.com/streamich/react-use/compare/v12.3.0...v12.3.1 ) (2019-10-10)
### Bug Fixes
* move [@types](https://github.com/types )/react-wait to dependencies, closes [#661 ](https://github.com/streamich/react-use/issues/661 ) ([#662 ](https://github.com/streamich/react-use/issues/662 )) ([6bdd74e](https://github.com/streamich/react-use/commit/6bdd74e ))
v12.3.1
2019-10-10 11:41:29 +00:00