We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://stackblitz.com/edit/github-dds6ys
Error returned by useAsyncData is not immediately reflected. We expect the environment to behave like the following: https://stackblitz.com/edit/github-drhhpj
Strangely enough, it works when properties other than error are used together!
error
<script setup> const { error, status } = useLazyAsyncData('aaa', async () => { try { throw new Error('test') } catch (e) { throw { obj: 'test' } } }) </script> <template> <div> <p>error: {{ error !== null }}</p> <p>status: {{ status }}</p> </div> </template>
No response
The text was updated successfully, but these errors were encountered:
Fixed at #1004
Sorry, something went wrong.
No branches or pull requests
Environment
Reproduction
https://stackblitz.com/edit/github-dds6ys
Describe the bug
Error returned by useAsyncData is not immediately reflected.
We expect the environment to behave like the following:
https://stackblitz.com/edit/github-drhhpj
Additional context
Strangely enough, it works when properties other than
error
are used together!Logs
No response
The text was updated successfully, but these errors were encountered: