All three loading states remain to true even tho no fetch is currently active #5943
Answered
by
TitoSniberb
TitoSniberb
asked this question in
Q&A
-
https://gyazo.com/cfa329dab622eb8131a36a44716bad6f isLoading, isFetching and isInitialLoading, all remain to true when the query finished fetching (in my case with a code 500 received from backend). Any ideas of what could be happening? This is the first time I have this problem and i've been using the library for almost a year now. |
Beta Was this translation helpful? Give feedback.
Answered by
TitoSniberb
Sep 13, 2023
Replies: 1 comment 8 replies
-
Can you share code? Are you using Svelte? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry for the delay in the response. I found out that the problem was in the
retry
option. If you use a custom retry and any unhandled error happens inside that function, the propsstatus
andfetchStatus
remain in loading and fetching