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

Function Page2

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueryFunction · 0.50

Tested by

no test coverage detected