MCPcopy Index your code
hub / github.com/TanStack/query / App

Function App

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

Source from the content-addressed store, hash-verified

61 }
62
63 function App() {
64 usePrefetchQuery(queryOpts)
65
66 return (
67 <React.Suspense fallback="Loading...">
68 <Suspended queryOpts={componentQueryOpts} />
69 </React.Suspense>
70 )
71 }
72
73 const rendered = renderWithClient(queryClient, <App />)
74

Callers

nothing calls this directly

Calls 2

usePrefetchQueryFunction · 0.85

Tested by

no test coverage detected