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

Function Page

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

useSuspenseQueryFunction · 0.50

Tested by

no test coverage detected