109 Commits

Author SHA1 Message Date
Va Da
c9d7b5210a
Merge branch 'master' into useThrottle 2019-03-26 11:48:58 +01:00
streamich
b5c7aecfa6 docs: ✏️ add useMouseHovered docs 2019-03-26 11:20:42 +01:00
Ward Oosterlijnck
e8b43ea95c useMouse hook 2019-03-26 11:20:42 +01:00
Ward Oosterlijnck
f814fd216b Added useLockBodyScroll to README 2019-03-26 11:20:42 +01:00
Ward Oosterlijnck
7a6b7a249f docs: typo in README 2019-03-26 11:20:42 +01:00
Ward Oosterlijnck
6d3641e04c Added to README + typo fix 2019-03-26 20:01:03 +11: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
fa6e9f3dce Added useLockBodyScroll to README 2019-03-24 10:36:36 +11:00
Ward Oosterlijnck
746cf9d46a docs: typo in README 2019-03-24 09:42:16 +11:00
Va Da
c5ecf74107
docs: remove loose line break in README 2019-03-23 11:26:24 +01:00
Ward Oosterlijnck
c75f997f8e useScroll hook 2019-03-23 19:48:38 +11:00
Ward Oosterlijnck
2fd08f8335 Added readme 2019-03-23 16:49:22 +11:00
Luis Felipe Zaguini
257d8c074a
Update README.md 2019-03-21 10:15:42 -03:00
Va Da
b77f6bb06a
docs: add useAsyncRetry 2019-03-21 10:17:23 +01:00
Va Da
8b5e67c609
docs: add useKeyPressEvent() demo 2019-03-19 23:01:04 +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
Va Da
e330ccb336
docs: add links to demos 2019-03-15 15:32:23 +01:00
streamich
aad368ba67 feat: 🎸 add usePromise() hook 2019-03-15 15:14:00 +01:00
Va Da
f0242ea69d
docs: add link to Chinese translation
* docs: ✏️ add chinese translation link

* docs: ✏️ format Chinese translation link

* docs: ✏️ format Chinese translation more

* docs: ✏️ don't break intro
2019-02-26 09:57:52 +01:00
Va Da
fa54e80ecb
docs: Hooks are finally in stable release 🥂 2019-02-07 01:14:43 +01:00
Va Da
12ad8806ad
fix: release useDebounce and useToggle fixes 2019-02-02 15:52:12 +01:00
Balázs Orbán
3e0f442a85
docs: fix typo 2019-01-20 00:58:52 +01:00
Va Da
2b3daef87a
docs: use mdash instead of hyphen 2018-12-26 12:44:55 +01:00
Matheus Albuquerque
7f163285d9 docs(README): add useKeyPress to the list 2018-12-26 04:27:36 -03:00
Va Da
fdcd92dec3
docs: make useDebounce description one line 2018-12-19 17:10:52 +01:00
James Ivings
a082d59e13
chore: updated readme 2018-12-18 23:00:02 -05:00
streamich
533e26f832 feat: 🎸 remove experimental hooks
BREAKING CHANGE: useRenderProp and useAsync are removed
2018-12-17 18:34:56 +01:00
streamich
dfb0510775 feat: 🎸 add useRefMounted hook 2018-12-05 15:23:43 +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
0xflotus
ca5abe5dcd fixed requestAnimationFrame 2018-10-31 20:12:30 +01:00
Va Da
04d9f38ca0
docs: center footer in README 2018-10-31 00:06:49 +01:00
Va Da
272b8d49cf
docs: use fancy README footer formatting 2018-10-30 23:59:59 +01:00
Va Da
28fb47cf00
docs: typo in README 2018-10-30 23:55:33 +01:00
streamich
c2aee592af feat: 🎸 add useHoverDirty hook 2018-10-30 18:18:51 +01:00
streamich
73e05c7d59 docs: ✏️ add useLocalStorage docs 2018-10-30 17:56:04 +01:00
streamich
91bee9a3c2 feat: 🎸 add useAdopt hook 2018-10-29 23:07:39 +01:00
streamich
2d85c61ba8 feat: 🎸 add useRenderProp hook 2018-10-29 22:45:09 +01:00
streamich
ead142c6fb feat: 🎸 add useCallbag hook 2018-10-29 22:07:54 +01:00
streamich
4e3021b8e2 docs: ✏️ fix typos in useOutsideClick docs 2018-10-29 21:50:28 +01:00
streamich
a0d95570b6 docs: ✏️ simplify README sub-title 2018-10-29 21:48:50 +01:00
streamich
90d2c224f6 feat: 🎸 add useOutsideClick hook 2018-10-29 21:47:06 +01:00
streamich
05da37fc18 chore: 🤖 start work on useDropArea 2018-10-29 21:40:36 +01:00
streamich
ff05419df1 feat: 🎸 add useVideo hook 2018-10-29 21:12:26 +01:00
streamich
10c6906e0b docs: ✏️ improve createMemo docs 2018-10-29 20:54:07 +01:00
streamich
8730eaa441 feat: 🎸 add createMemo hook factory 2018-10-29 20:50:08 +01:00