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

Function App

packages/react-query/src/__tests__/usePrefetchInfiniteQuery.test.tsx:64–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }
63
64 function App() {
65 usePrefetchInfiniteQuery({ ...queryOpts, pages: data.length })
66
67 return (
68 <React.Suspense fallback={<Fallback />}>
69 <Page />
70 </React.Suspense>
71 )
72 }
73
74 const rendered = renderWithClient(queryClient, <App />)
75

Callers

nothing calls this directly

Calls 1

usePrefetchInfiniteQueryFunction · 0.50

Tested by

no test coverage detected