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

Method refetch

packages/query-core/src/queryObserver.ts:296–302  ·  view source on GitHub ↗
({ ...options }: RefetchOptions = {})

Source from the content-addressed store, hash-verified

294 }
295
296 refetch({ ...options }: RefetchOptions = {}): Promise<
297 QueryObserverResult<TData, TError>
298 > {
299 return this.fetch({
300 ...options,
301 })
302 }
303
304 fetchOptimistic(
305 options: QueryObserverOptions<

Callers 15

refetchFunction · 0.80
getOptimisticResultFunction · 0.80
useQuery.test.tsFile · 0.80
PageFunction · 0.80
PageFunction · 0.80
PageFunction · 0.80
PageFunction · 0.80
useQueriesFunction · 0.80
subscribeToObserverFunction · 0.80
PageFunction · 0.80

Calls 1

fetchMethod · 0.95

Tested by 7

PageFunction · 0.64
PageFunction · 0.64
PageFunction · 0.64
PageFunction · 0.64
PageFunction · 0.64
PageFunction · 0.64
FirstComponentFunction · 0.64