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

Function SecondQuery

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

Source from the content-addressed store, hash-verified

280 }
281
282 function SecondQuery({ children }: { children?: React.ReactNode }) {
283 const state = useSuspenseQuery(secondQueryOpts)
284 return (
285 <div>
286 <div>data: {String(state.data)}</div>
287 {children}
288 </div>
289 )
290 }
291
292 function ThirdQuery() {
293 const state = useSuspenseQuery(thirdQueryOpts)

Callers

nothing calls this directly

Calls 1

useSuspenseQueryFunction · 0.50

Tested by

no test coverage detected