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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently only
query.state.data
is able to set an custom serialization callback for them:query/packages/query-core/src/hydration.ts
Lines 78 to 92 in 318ba4d
query/packages/query-core/src/hydration.ts
Lines 176 to 202 in 318ba4d
Add anything that allowing us to hook the value of
query.state.error
while (de)hydrating with packages likeserialize-error
will help us to prevent hydration mismatch under SSR: #1208 Hebilicious/vue-query-nuxt#108 (comment)Or we will have to mutate the
query.state.error
manually like https://github.com/Hebilicious/vue-query-nuxt/pull/116/files#diff-e2fd1a0ff1dd7ae6b6ebd2416a9c6b3896ec0a9eb787ad38deed4043b3ee9123R32-R61Beta Was this translation helpful? Give feedback.
All reactions