Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ SecondComponent
Function
SecondComponent
packages/solid-query/src/__tests__/useQuery.test.tsx:1429–1435 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1427
}
1428
1429
function SecondComponent() {
1430
useQuery(() => ({
1431
queryKey: key,
1432
queryFn: () => sleep(15).then(() => 2),
1433
}))
1434
return null
1435
}
1436
1437
function Page() {
1438
return (
Callers
nothing calls this directly
Calls
2
sleep
Function · 0.90
useQuery
Function · 0.50
Tested by
no test coverage detected