MCPcopy Index your code
hub / github.com/TanStack/query / FirstQuery

Function FirstQuery

packages/react-query/src/__tests__/useIsFetching.test.tsx:76–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

sleepFunction · 0.90
useQueryFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…