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

Function App

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

usePrefetchQueryFunction · 0.50

Tested by

no test coverage detected