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

Function Page

packages/react-query/src/__tests__/usePrefetchQuery.test.tsx:44–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 function Page() {
45 const state = useSuspenseQuery(componentQueryOpts)
46 return <div>data: {String(state.data)}</div>
47 }
48
49 function App() {
50 usePrefetchQuery(queryOpts)

Callers

nothing calls this directly

Calls 1

useSuspenseQueryFunction · 0.50

Tested by

no test coverage detected