356 Commits

Author SHA1 Message Date
Vadim Dalecky
fb795a6111
fix: add missing rate property 2019-06-16 12:17:16 +02:00
allen ge
f52f1f7f0f
feat: add rate option in useSpeech 2019-06-16 17:35:57 +08:00
jeetiss
8fb58957b6 don't use alert in story 2019-06-14 22:18:47 +03:00
jeetiss
3305f39c51 save callback independently
add deps for skip useless event sub/unsub
2019-06-14 22:18:22 +03:00
Ward Oosterlijnck
eaf29a1218 docs: createReducer 2019-06-12 23:58:54 +02:00
Ward Oosterlijnck
bcfb8b9cf7 fix 2019-06-12 18:56:07 +10:00
James
b3ba702ef8 feat: 🎸 add useScrolling hook to index 2019-06-11 10:51:26 +01:00
James
bd9928e6b3 feat: 🎸 add useScrolling hook 2019-06-11 10:47:04 +01:00
Vadim Dalecky
c3ecced951
Merge pull request #315 from streamich/createReducer 2019-06-04 10:00:51 -07:00
Vadim Dalecky
01f96bd304
style: fix linter errors 2019-06-02 07:28:39 +02:00
Vadim Dalecky
17036105ad
style: don't shadow variable 2019-06-02 07:28:09 +02:00
Vadim Dalecky
72e3036b15
fix: fix TypeScript error 2019-06-02 07:15:39 +02:00
NullVoxPopuli
ed17aed4bd make types better 2019-05-31 13:04:25 -04:00
streamich
09f9bdbe1b chore: 🤖 catch-up with master 2019-05-31 10:04:55 +02:00
streamich
3a0c683099 test: 💍 add tests for useObservable() hook 2019-05-30 20:43:53 +02:00
streamich
d0c3713dec feat: 🎸 improve useObservable() type annotations 2019-05-30 20:39:07 +02:00
streamich
70697d9626 style: 💄 fix linting error 2019-05-30 19:57:10 +02:00
NullVoxPopuli
a880724b04 add test proving that we can capture and await the callback result 2019-05-30 13:46:54 -04:00
NullVoxPopuli
facedc10aa simplify types 2019-05-30 13:41:12 -04:00
Kier Borromeo
eeb05e90db
Fix useSetState callback parameter type 2019-05-30 07:05:52 +08:00
NullVoxPopuli
4f8b1b9897 wrong default. whoops 2019-05-29 14:59:00 -04:00
NullVoxPopuli
1b59040e6e unify test style 2019-05-29 14:48:11 -04:00
NullVoxPopuli
30209518d5 finished 2019-05-29 14:11:42 -04:00
NullVoxPopuli
cabb9d6676 tests pass, now to fix types 2019-05-29 13:04:11 -04:00
NullVoxPopuli
85db1dd940 tests done for useAsync 2019-05-29 10:22:04 -04:00
NullVoxPopuli
3f9cc47975 add some tests 2019-05-29 10:08:12 -04:00
NullVoxPopuli
ab418cc6ec add tests, and fix the initial state issue 2019-05-28 17:30:59 -04:00
Va Da
913e12e4eb
Merge pull request #283 from MajorBreakfast/patch-1
fix(useAudio): src change should reset isPlaying state
2019-05-24 20:49:59 +02:00
Va Da
71c4e17f61
Merge pull request #299 from xiaoboost/fix-type-useMap
fix(useMap): more stringent type
2019-05-24 20:33:21 +02:00
Maxim Malov
c6d692a6dc
Pass arguments to useAsyncFn fetcher 2019-05-20 17:40:29 +06:00
Xiao
7bbbe47a58 fix(useMap): more stringent type 2019-05-12 13:11:19 +08:00
areschen
2c1a67188a refactor: move initialState to useRef 2019-05-09 11:30:57 +08:00
areschen
6af59e959b chore: use useRef to save state make async action to get current state 2019-05-09 11:18:47 +08:00
Ward Oosterlijnck
3bd1cbcf9d Add useToggle tests 2019-05-08 19:40:39 +10:00
Ward Oosterlijnck
76640295d5 Update useToggle docs 2019-05-08 19:32:00 +10:00
Ward Oosterlijnck
3f5e5c9222 useToggle no param casting, closes #278 2019-05-08 19:30:59 +10:00
Ward Oosterlijnck
3bf12f1137 test: added tests for useTitle 2019-05-08 08:25:58 +10:00
Ward Oosterlijnck
dd5c1efd83 usePrevious tests 2019-05-07 20:40:38 +10:00
Ward Oosterlijnck
bf0da5412d usePrevious docs 2019-05-07 20:33:31 +10:00
Ward Oosterlijnck
fa75954a0a usePrevious hook and story 2019-05-07 20:31:22 +10:00
Josef Brandl
65bffca22f fix(useAudio): src change should reset isPlaying state 2019-05-01 15:01:12 +02:00
Markus Maga
6a651be790
fix(useRefMounted): only run and cleanup once 2019-04-29 16:57:28 +02:00
liaoyinglong
6638c1a211 feat: add type define for createMemo 2019-04-29 10:18:50 +08:00
Va Da
01959a12e3
fix: make options useGeolocation optional 2019-04-23 22:01:20 +02:00
Denys Dovhan
b33802d03a
Add options for useGeolocation 2019-04-23 17:54:48 +03:00
streamich
f14e1d77d2 fix: 🐛 support click away on iOS, allow user to chose events 2019-04-23 16:34:05 +02:00
streamich
ce76edfa64 fix: 🐛 don't fire typing event on modifier keys pressed 2019-04-18 23:30:21 +02:00
Ward Oosterlijnck
766ab2f4e9 createReducer for redux middleware, related #164 2019-04-16 19:26:01 +10:00
Ankith Konda
379e4577c9 add lint-staged for lint fix add check ts 2019-04-13 12:30:56 +10:00
Ankith Konda
9564332ef3 Make requested changes and add yarn lint to CircleCI 2019-04-13 00:34:59 +10:00