Open History to see the last commit
1<script lang="ts">
2 import { QueryClient } from '@tanstack/query-core'
3 import { QueryClientProvider } from '../src/index.js'
4 import { Snippet } from 'svelte'
5β
6 const {
7 queryClient = new QueryClient(),
8 children,
9 }: { queryClient?: QueryClient; children: Snippet } = $props()
10</script>
11β
12<QueryClientProvider client={queryClient}>
13 {@render children()}
14</QueryClientProvider>