tkwant
d714b12e8b
feat: add useMouseWheel hook
2020-06-05 22:50:34 +02:00
streamich
e33cf9f87b
chore: 🤖 catch up with master
2020-05-18 16:03:20 +02:00
streamich
5f5dd09bf3
test: 💍 add useScratch() stories
2020-05-16 14:27:33 +02:00
Clément Paris
d6fe267615
feat: add useLatest hook
2020-05-10 18:09:30 +02:00
whincwu
44a6cde00e
feat: add useHash hook
2020-04-08 09:21:06 +03:00
Ayush Goyal
7554b9a61e
feat: add useMethods state hook
2020-02-15 19:24:48 +05:30
streamich
7c93cd1236
chore: 🤖 catch up with master
2020-02-04 01:27:02 +01:00
Vadim Dalecky
fda7199b7d
feat: add createGlobalState hook generator
2020-02-03 16:20:07 -08:00
Kuss
45681b88e3
feat: add useLongPress hook
2020-01-23 13:03:45 +08:00
Ayush Goyal
65f3644205
feat: add useError hook
2020-01-16 21:13:35 +05:30
Brendan Daoud
6d61c1d95a
Merge branch 'master' into pr/useStateContext
2020-01-13 18:08:09 +01:00
Brendan
bc74530f35
Add create reducer context
2020-01-13 14:01:21 +01:00
Brendan
7285f7dc7a
Add createStateContext
2020-01-13 13:09:29 +01:00
MrHuangJser
ebc7b5b0f5
rename useGlobalState to createGlobalState
2020-01-13 09:42:56 +08:00
Ayush Goyal
bc72bc13e7
Add useCookie hook
2020-01-12 02:00:24 +05:30
streamich
1e379e4966
chore: 🤖 catch up with master
2020-01-03 19:38:07 +01:00
Anton Dosov
c4911e6d70
add use-shallow-compare-effect and use-custom-compare-effect
2019-12-27 13:04:39 +03:00
MrHuangJser
c85b85a299
MrHuangJser - add useGlobalState hook
2019-12-26 18:33:29 +08:00
Anton Zinovyev
125c7e96a1
feat: useScrollbarWidth hook; ( #825 )
...
* feat: useScrollbarWidth hook;
* chore: bump @xobotyi/scrollbar-width to 1.5.0 and add it to dependencies.
* fix: remove @xobotyi/scrollbar-width from dev-deps.
2019-12-09 15:47:44 +03:00
streamich
28ef34b4c7
docs: ✏️ add useUnmountedPromise reference
2019-12-08 00:54:58 +01:00
Anton Zinovyev
0a66359143
feat: useStateHistory ( #709 )
...
* feat: add useStateHistory hook;
* fix: createBreakpoint lint fix (author skipped hooks);
2019-11-28 16:41:48 +03:00
Anton Zinovyev
30abe2b22e
feat: add useFirstMountState & useRendersCount hooks ( #769 )
...
feat(useFirstMountState): hook to track if render is first;
feat(useRendersCount): hook to track renders count;
refactor(useUpdateEffect): now uses useFirstMountState hook;
refactor(usePreviousDistinct): now uses with useFirstMountState hook;
docs: update readme;
2019-11-23 15:14:35 +03:00
Daniel
095b4de232
feat: Add useSet hook
2019-11-14 12:26:24 +02: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
xobotyi
d33824578c
feat(useWait): add deprecation messages to readme and export;
2019-10-30 10:00:20 +03:00
Vadim Dalecky
79ba4ef832
feat: add createBreakpoint
2019-10-25 18:18:40 +02:00
Oriol Colomer Aragonés
1bfe063664
feat: add ensuredForwardRef and useEnsuredForwardedRef
2019-10-25 16:32:39 +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
Ward Oosterlijnck
395e50a237
Merge branch 'master' into useSlider
2019-10-17 00:17:43 +11: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
c0ceb14e08
useSlider
2019-10-14 22:58:12 +11:00
Ward Oosterlijnck
9df69c6e00
useVibrate
2019-10-13 22:26:21 +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
xobotyi
b998f3d397
useValidatableState -> useStateValidator;
...
It is more suitable due to more flexible usage;
2019-10-11 03:59:06 +03: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
Vadim Dalecky
b96f097653
Merge pull request #573 from lintuming/master
...
feat: add useMeasure
2019-09-01 23:22:39 +02:00
streamich
b22f32f6f6
feat: 🎸 add useSearchParam() hook
2019-09-01 22:21:14 +02:00
lintuming
4deb48b35e
add useMeasure story
2019-08-28 09:28:28 +08:00
Paul Sachs
6c3e569db6
feat: add usePreviousDistinct ( #551 )
...
* feat: add usePreviousDistinct
* Cleanup
* Added storybook docs
* improve demo in docs
2019-08-25 21:20:44 +02:00