T
TanStack3y ago
stormy-gold

React-query-devtools for Svelte(Kit)

Is there a devtools for svelte(kit)?
4 Replies
stormy-gold
stormy-goldOP3y ago
ah sorry nevermind i found it for the ones that dunno how. // +layout.svelte <script lang="ts"> import '../app.css' import { QueryClientProvider } from '@tanstack/svelte-query' import { SvelteQueryDevtools } from "@tanstack/svelte-query-devtools"; import type { PageData } from './$types' export let data: PageData </script> <QueryClientProvider client={data.queryClient}> <main> <slot /> </main> <SvelteQueryDevtools initialIsOpen /> </QueryClientProvider>
eastern-cyan
eastern-cyan3y ago
I did not think there was any for Svelte ! Thanks @Yofune Nushi
rare-sapphire
rare-sapphire3y ago
Had to dive deep into Discord to find this 🫠 The solution works tho 🙌🏼 This is still not available in the official documentation. Thanks @Yofune Nushi 🙏🏼
correct-apricot
correct-apricot2y ago
Same, it doesn't state anything in the docs, do we just make a PR to update the docs?

Did you find this page helpful?