9 Commits

Author SHA1 Message Date
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
lvl99
2d02612628 first pass at retry/refresh ability for useAsync 2019-03-16 14:29:58 +01:00
hahabazinga
2f5af2ca66 fix: reset state when calling useEffect in useAsync 2018-12-29 16:26:15 +01:00
streamich
244a533d33 fix: 🐛 memoized does not receive arguments 2018-12-19 23:04:18 +01:00
James Ivings
88dd513624 feat: pass arguments to memoized callback (#81) 2018-12-19 17:07:26 +01:00
streamich
7c1b107eb4 feat: 🎸 list all useAsync state props so that TS dont complain 2018-12-17 18:37:14 +01:00
ZHAO Jinxiang
966af4aaee feat: use discriminated union in useAsync 2018-12-17 21:12:38 +08:00
streamich
cdc5ec596d refactor: 💡 use import hooks from React proper 2018-12-16 11:02:52 +01:00
streamich
258d696438 feat: 🎸 add useAsync hook 2018-10-27 22:40:50 +02:00