awmleer opened this issue 6 years ago · 1 comments
const data = useAsyncMemo(async () => { try { return await apiService.fetch('/data') } catch() { return {user: 1} } }, [], null)