TanStackT
TanStack2y ago
28 replies
skinny-azure

UseQuery. How to reset hydrated value to undefined in vue 3 + nuxt.

I have a query that is called on the server side using suspense and I have a problem with resetting a value to undefined. The queryClient.resetQueries doesn't work because the hydrated value becomes the default value as well. How can I reset the current value to undefined?
Was this page helpful?