Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ FirstQuery
Function
FirstQuery
packages/solid-query/src/__tests__/useIsFetching.test.tsx:80–87 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
function FirstQuery() {
81
useQuery(() => ({
82
queryKey: key1,
83
queryFn: () => sleep(150).then(() =>
'data'
),
84
}))
85
86
return null
87
}
88
89
function SecondQuery() {
90
useQuery(() => ({
Callers
nothing calls this directly
Calls
2
sleep
Function · 0.90
useQuery
Function · 0.50
Tested by
no test coverage detected