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

Function Page2

packages/solid-query/src/__tests__/QueryClientProvider.test.tsx:71–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 )
70 }
71 function Page2() {
72 const query = useQuery(() => ({
73 queryKey: key2,
74 queryFn: () => sleep(10).then(() => 'test2'),
75 }))
76
77 return (
78 <div>
79 <h1>{query.data}</h1>
80 </div>
81 )
82 }
83
84 const rendered = render(() => (
85 <>

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueryFunction · 0.50

Tested by

no test coverage detected