-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
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
Bypass Error in Nuxt 3 #114
Labels
Comments
My solution for now is the following: const categoriesOptions = ref();
watch(() => categories.value, () => {
if (categories.value) {
// update categoriesOptions here for page render
}
}); |
nozomuikuta
added
question
Further information is requested
and removed
question
Further information is requested
labels
Jan 11, 2023
I feel this issue is potentially related to and/or duplicate of #160. |
Let's track via #160 (or feel free to open an issue/question in nuxt/nuxt and ping me 👍🏼 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
I cannot understand the example in docs regarding bypassing errors https://github.com/unjs/ohmyfetch#%EF%B8%8F-handling-errors
My use case is the following:
In my Nuxt 3 app I have a filter on the page (it consists of several selects). Whenever the filter changes, I use its values (
debouncedFetchQuery.value
) to fetch data (with Nuxt 3useAsyncData
composable):The problem I have is that whenever request aborts,
useAsyncData
returnsnull
for data and its subsequent component disappears from the page until the next successful request.I wonder if it's possible to bypass Abort errors so as Nuxt composable would ignore them?
The text was updated successfully, but these errors were encountered: