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

Function FirstQuery

packages/preact-query/src/__tests__/useIsFetching.test.tsx:77–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 function FirstQuery() {
78 useQuery({
79 queryKey: key1,
80 queryFn: () => sleep(100).then(() => 'data1'),
81 })
82
83 return null
84 }
85
86 function SecondQuery() {
87 useQuery({

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueryFunction · 0.50

Tested by

no test coverage detected