1200 Commits

Author SHA1 Message Date
xobotyi
cb4a735b84 useMediatedState implementation, tests and docs; 2019-10-14 20:30:07 +03: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
Rafał Kostrzewski
6bdd74e79c fix: move @types/react-wait to dependencies, closes #661 (#662) 2019-10-10 22:39:24 +11:00
Kevin Norris
d1aaa855fc tests: useFavicon (#666) 2019-10-10 21:29:01 +11:00
Renovate Bot
706f660781 chore(deps): update babel monorepo to v7.6.3 2019-10-08 21:34:54 +00:00
Renovate Bot
b1944a1bdc chore(deps): update yarn to v1.19.1 2019-10-08 13:41:46 +00:00
Renovate Bot
c1484cbdfd chore(deps): update dependency lint-staged to v9.4.2 2019-10-08 06:26:49 +00:00
semantic-release-bot
2ab1460c43 chore(release): 12.3.0 [skip ci]
# [12.3.0](https://github.com/streamich/react-use/compare/v12.2.3...v12.3.0) (2019-10-07)

### Features

* reset util callback for useList ([#654](https://github.com/streamich/react-use/issues/654)) ([9ea3548](https://github.com/streamich/react-use/commit/9ea3548))
v12.3.0
2019-10-07 21:33:53 +00:00
Ward
9ea3548e4c
feat: reset util callback for useList (#654) 2019-10-08 08:30:21 +11:00
Ward Oosterlijnck
471da2aea3 docs: useSearchParam warning about hash routers, closes #637 2019-10-07 21:07:39 +11:00
Ward Oosterlijnck
03ccfa9845 docs: add useUpsert to readme 2019-10-07 20:50:19 +11:00
Arty
4f48494126 docs: useList demo link + improve docs (#649)
* improve docs: useList demo link

* improve docs: useList demo link (examples of callbacks usage)

* Add all callback methods to useList story
2019-10-07 16:04:09 +11:00
Arty
c520797fd5 docs: useMap demo link + improved docs (#650)
* improve docs: useMap demo link

* improve docs: useMap demo link (remove callback usage added)

* Add remove action to useMap story
2019-10-07 16:02:45 +11:00
Arty
b1fc6a75a6 docs: useToggle demo link (#648) 2019-10-07 14:14:02 +11:00
Arty
9f003fda1c docs: usePrevious demo link (#651) 2019-10-06 13:12:57 +11:00
Arty
529362e60f docs: useStateList demo link (#647) 2019-10-06 13:09:19 +11:00
Jake Boone
ae6510550e chore(deps): update screenfull to v5.0.0 (#645) 2019-10-06 13:05:50 +11:00
Renovate Bot
a6afe924a0 chore(deps): pin dependency @types/react-wait to 0.3.0 2019-10-05 06:37:09 +00:00
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