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:1434–1440 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1432
}
1433
1434
function SecondComponent() {
1435
useQuery(() => ({
1436
queryKey: key,
1437
queryFn: () => sleep(15).then(() => 2),
1438
}))
1439
return null
1440
}
1441
1442
function Page() {
1443
return (
Callers
nothing calls this directly
Calls
2
sleep
Function · 0.90
useQuery
Function · 0.50
Tested by
no test coverage detected