Is Suspense working with react-query? #3375
Answered
by
developit
ivanjeremic
asked this question in
Q&A
-
I try to use Suspense with react-query, it renders my UI but I see no fallback, is this supported? |
Beta Was this translation helpful? Give feedback.
Answered by
developit
Dec 15, 2021
Replies: 1 comment 3 replies
-
Do you happen to have an example? Preact might not show loading UI as early as React, I believe the default suspense implementation includes a delay period to avoid thrashing spinners during quick loading sequences. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
JoviDeCroock
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you happen to have an example?
Preact might not show loading UI as early as React, I believe the default suspense implementation includes a delay period to avoid thrashing spinners during quick loading sequences.