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

Function refetch

packages/vue-query/src/useBaseQuery.ts:147–150  ·  view source on GitHub ↗
(...args: Parameters<(typeof state)['refetch']>)

Source from the content-addressed store, hash-verified

145
146 // fix #5910
147 const refetch = (...args: Parameters<(typeof state)['refetch']>) => {
148 updater()
149 return state.refetch(...args)
150 }
151
152 const suspense = () => {
153 return new Promise<QueryObserverResult<TData, TError>>(

Callers 15

PageFunction · 0.85
PageFunction · 0.85
FirstComponentFunction · 0.85
PageFunction · 0.85
PageFunction · 0.85
PageFunction · 0.85
FirstComponentFunction · 0.85
PageFunction · 0.85
createClientSubscriberFunction · 0.85
useBaseQueryFunction · 0.85
PageFunction · 0.85
PageFunction · 0.85

Calls 2

updaterFunction · 0.85
refetchMethod · 0.80

Tested by 10

PageFunction · 0.68
PageFunction · 0.68
FirstComponentFunction · 0.68
PageFunction · 0.68
PageFunction · 0.68
PageFunction · 0.68
FirstComponentFunction · 0.68
PageFunction · 0.68
PageFunction · 0.68
PageFunction · 0.68