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

Function Prefetch

packages/react-query/src/__tests__/usePrefetchQuery.test.tsx:156–159  ·  view source on GitHub ↗
({ children }: { children: React.ReactNode })

Source from the content-addressed store, hash-verified

154 }
155
156 function Prefetch({ children }: { children: React.ReactNode }) {
157 usePrefetchQuery(queryOpts)
158 return <>{children}</>
159 }
160
161 function App() {
162 return (

Callers

nothing calls this directly

Calls 1

usePrefetchQueryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…