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

Function App

packages/react-query/src/__tests__/usePrefetchQuery.test.tsx:46–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

usePrefetchQueryFunction · 0.50

Tested by

no test coverage detected