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

Function App

packages/preact-query/src/__tests__/usePrefetchQuery.test.tsx:48–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 }
47
48 function App() {
49 usePrefetchQuery(queryOpts)
50
51 return (
52 <Suspense fallback="Loading...">
53 <Page />
54 </Suspense>
55 )
56 }
57
58 const rendered = renderWithClient(queryClient, <App />)
59

Callers

nothing calls this directly

Calls 2

usePrefetchQueryFunction · 0.50

Tested by

no test coverage detected