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

Function App

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

usePrefetchInfiniteQueryFunction · 0.50

Tested by

no test coverage detected