()
| 8 | import './app.css' |
| 9 | |
| 10 | export 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected