Query is briefly fetching = true
after SSR restoreData
#2006
-
After populating the ssr exchange on the client as follows:
and in a Vue component, as per the docs:
I get a brief flash of "Loading...", even though the SSR exchange was properly populated with the todos (no network request is fired to the server to fetch the todos again). Is this expected? Is there a known workaround, if so (it's an odd experience for the user)? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
That should not be the case as restoreData happens synchronous. There are a few options why this behavior could arise
Maybe I'm overlooking something vue-related but I haven't ran into this issue myself. |
Beta Was this translation helpful? Give feedback.
That should not be the case as restoreData happens synchronous. There are a few options why this behavior could arise
Maybe I'm overlooking something vue-related but I haven't ran into this issue myself.