MCPcopy
hub / github.com/TanStack/query / refetch

Function refetch

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

Source from the content-addressed store, hash-verified

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

Callers 12

PageFunction · 0.85
PageFunction · 0.85
FirstComponentFunction · 0.85
PageFunction · 0.85
createClientSubscriberFunction · 0.85
useBaseQueryFunction · 0.85
PageFunction · 0.85
PageFunction · 0.85
useRefreshOnFocusFunction · 0.85
refetchByUserFunction · 0.85
TodosFunction · 0.85
EditTodoFunction · 0.85

Calls 2

updaterFunction · 0.85
refetchMethod · 0.80

Tested by 6

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…