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

Function App

packages/preact-query/src/__tests__/usePrefetchInfiniteQuery.test.tsx:65–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

usePrefetchInfiniteQueryFunction · 0.50

Tested by

no test coverage detected