52 Commits

Author SHA1 Message Date
streamich
a58a4a7889 feat: 🎸 add useNumber alias 2018-10-29 18:44:25 +01:00
streamich
395e82b03b feat: 🎸 improve useCounter interface
BREAKING CHANGE: useCounter interface changed
2018-10-29 18:42:47 +01:00
streamich
3c1e57d60e perf: ️ wrape useGetSetState callbacks in useCallback 2018-10-29 17:46:28 +01:00
streamich
dcd1013736 feat: 🎸 add useGetSetState 2018-10-29 17:41:34 +01:00
streamich
869f767c9a feat: 🎸 accept any value type in useToggle and cast it to bool
BREAKING CHANGE: now useToggle and useBoolean accept any value type and cast it to
boolean.
2018-10-29 15:33:05 +01:00
streamich
ce6de24e2f feat: 🎸 add useBoolean hook 2018-10-29 15:27:51 +01:00
streamich
52abf315ca refactor: 💡 use useUpdate in useGetSet 2018-10-29 15:06:38 +01:00
streamich
c00f308e95 feat: 🎸 add useUpdate hook 2018-10-29 15:05:16 +01:00
streamich
bfc30b99ab feat: 🎸 add useGetSet hook 2018-10-29 14:57:56 +01:00
streamich
711e8315ac feat: 🎸 add useObservable 2018-10-28 23:22:46 +01:00
Pavel Ivanoff
5a6da18e8a feat: 🎸 change API for useToggle hook (#16)
It's better option to decrease useToggle params destruction and keep flexibility

BREAKING CHANGE: useToggle interface changed
2018-10-28 22:24:48 +01:00
streamich
5728cc958c docs: ✏️ add docs to Storybook demos 2018-10-28 15:11:43 +01:00
streamich
2cdb09e865 docs: ✏️ improve useSpeech docs 2018-10-28 11:28:56 +01:00
streamich
3b971a2297 feat: 🎸 add useSpeech hook 2018-10-28 11:26:23 +01:00
streamich
0a6811d5da docs: ✏️ improve docs 2018-10-28 10:34:07 +01:00
streamich
4336aa1ab1 feat: 🎸 add useAudio hook 2018-10-28 10:25:31 +01:00
streamich
972541dad6 feat: 🎸 add useSetState hook 2018-10-28 00:09:58 +02:00
streamich
7c38b757e4 feat: 🎸 add useLogger hook 2018-10-27 23:47:32 +02:00
streamich
63a144464a feat: 🎸 add useMount and useUnmount hooks 2018-10-27 23:39:33 +02:00
streamich
f99c89f2ee feat: 🎸 add useLifecycles hook 2018-10-27 23:32:29 +02:00
streamich
2541716ad7 feat: 🎸 do work on useLocaStorage
There is some "Illegal invocation" that I cannot immediately solve, so
postponing this hook for now.
2018-10-27 23:15:04 +02:00
streamich
258d696438 feat: 🎸 add useAsync hook 2018-10-27 22:40:50 +02:00
streamich
877343e116 feat: 🎸 add useTween hook 2018-10-27 21:52:09 +02:00
streamich
26b25932ad feat: 🎸 add useRaf hook 2018-10-27 21:39:42 +02:00
streamich
86f094e0ef feat: 🎸 add useTimeout hook 2018-10-27 21:10:28 +02:00
streamich
b4fe5b002a feat: 🎸 add useSprgin hook 2018-10-27 18:13:51 +02:00
streamich
2c0a7e482b feat: 🎸 add useCss hook 2018-10-27 15:50:32 +02:00
streamich
ab1739a2e5 feat: 🎸 add useFavicon hook 2018-10-27 14:29:11 +02:00
streamich
91eb4ea465 feat: 🎸 add useMotion hook 2018-10-27 13:18:07 +02:00
streamich
74d3ece57d feat: 🎸 add useIdle hook 2018-10-27 12:12:00 +02:00
streamich
5881fa6408 feat: 🎸 add useNetwork hook 2018-10-27 11:00:14 +02:00
streamich
c533b97138 feat: 🎸 add useOrientation hook 2018-10-27 10:38:23 +02:00
streamich
4ea02777ad feat: 🎸 add useMediaDevices hook 2018-10-27 10:31:30 +02:00
streamich
e1cc9abddb feat: 🎸 add useMedia hook 2018-10-27 10:23:30 +02:00
streamich
28900bf76d chore: 🤖 add createRouter() stub 2018-10-27 10:00:10 +02:00
streamich
46a8e2c9bf feat: 🎸 add useLocation hook 2018-10-27 03:49:53 +02:00
streamich
5b1356aadb feat: 🎸 improve useSize, pass through state to the element 2018-10-27 03:38:20 +02:00
streamich
13a7326a56 feat: 🎸 add useGeolocation hook 2018-10-27 03:31:05 +02:00
streamich
406af205e3 feat: 🎸 add useHover hook 2018-10-27 03:22:55 +02:00
streamich
73ce535f09 feat: 🎸 add useBattery hook 2018-10-27 03:07:40 +02:00
streamich
6509c257c5 feat: 🎸 add useMap hook 2018-10-27 02:58:04 +02:00
streamich
4bea5086f1 feat: 🎸 add useList hook 2018-10-27 02:44:03 +02:00
streamich
79e5b8caef feat: 🎸 add useCounter hook 2018-10-27 02:37:02 +02:00
streamich
620b1711f9 feat: 🎸 add useSize hook 2018-10-27 02:27:42 +02:00
streamich
1bff6d8731 feat: 🎸 add useTitle hook 2018-10-27 01:58:48 +02:00
streamich
6598c19e98 chore: 🤖 improve build and Storybook setup 2018-10-27 01:31:45 +02:00
streamich
3091823ea9 chore: 🤖 move useToggle demo to Storybook and remove /src/demo 2018-10-27 01:25:08 +02:00
streamich
5b7dff7e79 test: 💍 add useWindowSize() story 2018-10-27 01:22:19 +02:00
streamich
14a273e8d8 chore: 🤖 add Storybook 2018-10-27 01:21:13 +02:00
streamich
2c46899b49 feat: 🎸 add useWindowSize() hook 2018-10-27 01:18:55 +02:00