MCPcopy Create free account
hub / github.com/TanStack/query / App

Function App

examples/solid/solid-start-streaming/src/app.tsx:10–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import './app.css'
9
10export default function App() {
11 const queryClient = new QueryClient({
12 defaultOptions: {
13 queries: {
14 retry: false,
15 staleTime: 5000,
16 },
17 },
18 })
19
20 return (
21 <QueryClientProvider client={queryClient}>
22 <SolidQueryDevtools />
23 <Router
24 root={(props) => (
25 <MetaProvider>
26 <Title>SolidStart - Basic</Title>
27 <a href="/">Home</a>
28 <a href="/streamed">Streamed</a>
29 <a href="/deferred">Deferred</a>
30 <a href="/mixed">Mixed</a>
31 <a href="/with-error">With Error</a>
32 <a href="/hydration">Hydration</a>
33 <A preload={true} href="/prefetch">
34 Prefetch
35 </A>
36 <a href="/batch-methods">Batching Methods</a>
37 <Suspense>{props.children}</Suspense>
38 </MetaProvider>
39 )}
40 >
41 <FileRoutes />
42 </Router>
43 </QueryClientProvider>
44 )
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected