Va Da
c9d7b5210a
Merge branch 'master' into useThrottle
2019-03-26 11:48:58 +01:00
Va Da
931220239e
docs: fix typo in useMouse [skip ci]
2019-03-26 11:31:17 +01:00
streamich
b5c7aecfa6
docs: ✏️ add useMouseHovered docs
2019-03-26 11:20:42 +01:00
Va Da
ec30e92283
docs: fix typo [skip ci]
2019-03-26 11:20:42 +01:00
Ward Oosterlijnck
e8b43ea95c
useMouse hook
2019-03-26 11:20:42 +01:00
Ward Oosterlijnck
5740a53f35
useLockBodyScroll
2019-03-26 11:20:42 +01:00
Ward Oosterlijnck
a4f0197161
Add debounced value to demo and docs
2019-03-26 20:08:35 +11:00
Ward Oosterlijnck
6d3641e04c
Added to README + typo fix
2019-03-26 20:01:03 +11:00
Ward Oosterlijnck
e6f179d682
useThrottle
2019-03-26 20:00:37 +11:00
Va Da
91dee9351c
docs: fix typo [skip ci]
2019-03-25 14:05:26 +01:00
streamich
a03143a46f
feat: 🎸 implement useClickAway, remove useOutsideClick
...
This re-implements outside click hook functionality from scratch,
removes dependency on use-onoutsideclick package.
BREAKING CHANGE: 🧨 useOutsideClick is now useClickAway
2019-03-25 13:52:52 +01:00
streamich
428876ab34
chore: 🤖 move useCss hook under UI section
...
Also remove remainders of useCallbag hook.
2019-03-25 13:23:49 +01:00
streamich
61700675cd
chore: 🤖 don't install only large dependencies
...
This change removes useCallbag hook, it also reverts back changes for
hooks that only have tiny dependencies or dependencies that could have
been part of the hook itself. Effectivly only KeyboardJS and Rebound are
large packages that only partially are used by react-use, hence require
user to install them separately.
BREAKING CHANGE: 🧨 useCallbag hook is removed, some hooks KeyboardJS and Rebound installed
separately
2019-03-25 13:19:37 +01:00
Ward Oosterlijnck
8e2f342f5a
useMouse hook
2019-03-25 22:18:35 +11:00
Ward Oosterlijnck
0754bce76e
useLockBodyScroll
2019-03-24 10:27:38 +11:00
Charles Crete
b8e8b3073a
Fixed typo
2019-03-23 15:30:43 -04:00
Charles Crete
7be31a4a1d
Remove dependencies
2019-03-23 15:28:45 -04:00
Va Da
a92e9b203f
feat: add useScroll hook
2019-03-23 11:24:29 +01:00
Ward Oosterlijnck
71eb416953
useWindowScroll doc typos
2019-03-23 19:56:49 +11:00
Ward Oosterlijnck
c75f997f8e
useScroll hook
2019-03-23 19:48:38 +11:00
Va Da
94bffc514d
docs: fix title in useWindowScroll docs
2019-03-23 08:24:30 +01:00
Ward Oosterlijnck
874e9a9ba5
useWindowScroll hook
2019-03-23 16:46:04 +11:00
streamich
2d644462e7
docs: ✏️ improve useCss docs
2019-03-22 20:57:52 +01:00
Luis Felipe Zaguini
7ca74e6aad
Create useUpdateEffect.md
2019-03-21 10:12:01 -03:00
Va Da
576cf42e3f
feat: add useAsyncRetry hook
2019-03-21 10:16:25 +01:00
lvl99
8b7d5ed3ac
reverted useAsync and created new hook useAsyncRetry which leverages useAsync
...
added story and docs for useAsyncRetry
fixed up new code formatting to match project
2019-03-20 15:12:45 +01:00
Va Da
2390cafb6d
docs: fix useKeyPress link
2019-03-19 23:41:44 +01:00
Va Da
d1aebe0a90
Merge branch 'master' into pr/139
2019-03-19 22:50:02 +01:00
streamich
7cf90107e1
chore: 🤖 various improvements for useKeyPrssEvent()
...
add link to README, expose in index.ts, improve docs/demo, add Storybook
story
2019-03-19 22:47:12 +01:00
streamich
aad368ba67
feat: 🎸 add usePromise() hook
2019-03-15 15:14:00 +01:00
Parker McMullin
c3d49e230b
Added useKeyPressEvent custom hook with associated doc. This focuses on utilizing the onKeyup and/or onKeydown events unlike useKeyPress which involves state. useKeyPressEvent uses useKeyPress to achieve this functionality.
2019-03-09 19:25:59 -07:00
chengruilin
4e2d639e13
fix: correct createMemo.md
2019-03-08 11:20:59 +08:00
Va Da
c75789bf96
docs: typo
2019-02-21 01:05:33 +01:00
Gavin Gregory
6655558ed9
docs(useKeyPress): renamed keyboardjs -> useKeyboardJS
2019-02-10 12:08:27 -05:00
Matheus Albuquerque
6a1933b8ed
docs(useKeyPress): update samples and docs on how to use key combos
2018-12-26 04:04:08 -03:00
Matheus Albuquerque
01df885b9d
feat: 🎸 add useKeyPress hook
2018-12-26 02:49:06 -03:00
James Ivings
91ff6ba376
feat: added useDebounce
2018-12-18 18:12:24 -05:00
streamich
533e26f832
feat: 🎸 remove experimental hooks
...
BREAKING CHANGE: useRenderProp and useAsync are removed
2018-12-17 18:34:56 +01:00
ZHAO Jinxiang
966af4aaee
feat: use discriminated union in useAsync
2018-12-17 21:12:38 +08:00
Va Da
30cee86c39
docs: add note about the polyfill
2018-12-05 22:05:30 +01:00
streamich
dfb0510775
feat: 🎸 add useRefMounted hook
2018-12-05 15:23:43 +01:00
Fatih Kadir Akın
124ef993d9
feat: bump useWait
2018-11-10 23:32:44 +01:00
Fatih Kadir Akın
61c6058b5d
feat: add useWait hook
2018-11-06 21:49:47 +01:00
Andrew Joslin
eca432a921
feat: add useSessionStorage hook
...
* Add useSessionStorage
* chore: uncomment session storage docs story
2018-11-06 21:45:57 +01:00
Va Da
58532f73e7
docs: remove ref from useAudio reference
2018-11-04 12:47:16 +01:00
Va Da
452e13ef82
docs: improve useSetState reference
2018-11-03 08:47:40 +01:00
Li Yan
bfd114a407
feat: allow useSetState setter to accept function
...
* make setState of useSetState accept function argument
* update storybook
2018-11-02 08:50:04 +01:00
Truong Hoang Dung
819bd5455a
docs: fix typo on useLocalStorage's raw
2018-11-02 07:45:10 +01:00
Chris Parton
c8291b4ca9
Fix typo in useBattery.md
2018-10-31 12:29:15 +01:00
Va Da
f67740fbea
docs: use bullet list in useHover
2018-10-30 23:56:22 +01:00