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

Function Page

packages/preact-query/src/__tests__/usePrefetchQuery.test.tsx:45–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

useSuspenseQueryFunction · 0.50

Tested by

no test coverage detected