xobotyi
53787c01c5
Merge branch 'feat/enhance_useDebounce' of https://github.com/brickspert/react-use into brickspert-feat/enhance_useDebounce
...
# Conflicts:
# src/__tests__/useTimeoutFn.test.ts
# src/useDebounce.ts
2019-11-07 00:40:41 +03:00
Anton Zinovyev
1fdc9076dc
Merge pull request #673 from streamich/useVibrate
...
useVibrate
2019-11-06 23:57:54 +03:00
Anton Zinovyev
ecaa6a91c8
Merge branch 'master' into feature/use-queue
2019-11-06 23:04:51 +03:00
Vadim Dalecky
8d40f1800d
Merge pull request #711 from streamich/remove-react-wait
...
BREAKING CHANGE: useWait hook has been removed from react-use
2019-11-01 22:30:04 +01:00
xobotyi
d7c38bd77f
feat(useWait): removed from package due to it is simple reexport of other package;
2019-11-01 00:20:25 +03:00
xobotyi
dc364c851c
feat(useRefMounted): remove obsolete hook;
2019-11-01 00:13:57 +03:00
Vadim Dalecky
79ba4ef832
feat: add createBreakpoint
2019-10-25 18:18:40 +02:00
Vadim Dalecky
7d932438a9
Merge pull request #704 from oriohol95/useEnsuredForwardedRef_hook
...
feat: useEnsuredForwardedRef
2019-10-25 18:12:44 +02:00
Oriol Colomer Aragonés
1bfe063664
feat: add ensuredForwardRef and useEnsuredForwardedRef
2019-10-25 16:32:39 +02:00
streamich
711b48cfd1
docs: ✏️ use alert() in useMount() and useUnmount() stories
2019-10-23 10:23:26 +02:00
Jakkapat Boonroj
13ac976b0d
change word
2019-10-23 10:33:36 +07:00
Jakkapat Boonroj
fa08f93004
rename to createBreakpoint
2019-10-23 10:15:38 +07:00
Jakkapat Boonroj
8cdcfddae4
✨ create useBreakpoint
2019-10-22 22:35:25 +07: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
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
ae2698891b
feat: useMultiStateValidator
2019-10-16 14:23:54 +03:00
xobotyi
cb4a735b84
useMediatedState implementation, tests and docs;
2019-10-14 20:30:07 +03:00
Ward Oosterlijnck
24ae8f392c
useVibrate docs
2019-10-13 22:28:58 +11:00
Ward Oosterlijnck
9df69c6e00
useVibrate
2019-10-13 22:26:21 +11:00
Ward
a38f026beb
refactor: useInterval refactor + docs ( #626 )
2019-10-13 17:54:30 +11:00
Ward Oosterlijnck
282f04b6f6
docs: useMeasure and useSize docs tidy
2019-10-12 21:03:35 +11: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
Anton Zinovyev
9ab8698fd2
Merge branch 'master' into feat-useValidatableState
2019-10-11 04:29:34 +03:00
xobotyi
b998f3d397
useValidatableState -> useStateValidator;
...
It is more suitable due to more flexible usage;
2019-10-11 03:59:06 +03: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
Sergei Droganov
15e9bd2bd5
rename pop ro remove
2019-09-22 15:10:27 +03: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
xobotyi
9543e23ca3
useValidatableState implementation;
2019-09-04 04:10:11 +03:00
Ward Oosterlijnck
e88f0ceb8a
docs: fix and improve useCopyToClipboard documentation
2019-09-02 23:15:37 +10:00
Vadim Dalecky
b96f097653
Merge pull request #573 from lintuming/master
...
feat: add useMeasure
2019-09-01 23:22:39 +02:00
Vadim Dalecky
3f08740038
Merge pull request #583 from streamich/useSearchParam
...
useSearchParam
2019-09-01 23:19:09 +02:00
streamich
64ac924edf
feat: 🎸 support server-side rendering in useSearchParam() hook
2019-09-01 23:07:43 +02:00
streamich
b7ad911c04
docs: ✏️ add useSearchParam() docs
2019-09-01 22:25:30 +02:00
realdennis
a64e757dac
correct the code format make review focus in code
2019-08-30 23:54:32 +08:00
realdennis
c92b4d7400
Update the corresponding hooks usage docs
2019-08-30 21:51:38 +08:00
lintuming
611a4263f6
fix doc typo
2019-08-28 10:20:40 +08:00
Anton Zinovyev
d5ca05e231
Merge pull request #568 from streamich/imp-useTimeout
...
fix: make useTimeoutFn work properly:
2019-08-27 01:07:39 +03:00
xobotyi
42fdec140b
useDebounce:
...
- tests;
- fix function change debounce clear and reset;
- declare return type;
2019-08-26 10:04:07 +03:00
xobotyi
00e0c2691b
make useTimeoutFn work properly:
...
- reset function should clear previous timeout;
- function change should not reset the timeout;
2019-08-26 10:04:06 +03:00
xobotyi
438a56606b
make useTimeoutFn work properly:
...
- reset function should clear previous timeout;
- function change should not reset the timeout;
2019-08-26 09:58:28 +03:00
xobotyi
bb0ab036a3
Added state checker;
...
Updated story;
Updated docs;
2019-08-26 01:04:28 +03:00