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

Function SecondComponent

packages/solid-query/src/__tests__/useQuery.test.tsx:1396–1402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1394 }
1395
1396 function SecondComponent() {
1397 useQuery(() => ({
1398 queryKey: key,
1399 queryFn: () => sleep(15).then(() => 2),
1400 }))
1401 return null
1402 }
1403
1404 function Page() {
1405 return (

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueryFunction · 0.50

Tested by

no test coverage detected