TanStackT
TanStack4y ago
6 replies
living-lavender

Svelte-query - undefined queryclient

I want to integrate svelte-query in sveltekit app , as given in docs I have done all installation and setup but am getting this weird error in console cannot read properties of undefined (QueryClient)
I have declared the variable let queryclient = new QueryClient(), Just dont know what's wrong in here
Thanks!
Was this page helpful?