You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 3 useAsyncData composable):
The problem I have is that whenever request aborts, useAsyncData returns null 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:
YuLogun
changed the title
Bypass Error in Nuxt
Bypass Error in Nuxt 3
Aug 12, 2022
I feel this issue is potentially related to and/or duplicate of #160.
But, we appreciate if you provide a minimal reproduction by which everyone can see what you see.
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: