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

Function refetch

packages/vue-query/src/useBaseQuery.ts:186–187  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

184 // Replaced below with the wrapper. Declared here so the subscriber can put it
185 // back after `updateState` copies the observer's own `refetch` onto `state`.
186 let refetch: (typeof state)['refetch'] = (...args) =>
187 observer.refetch(...args)
188
189 if (client.isRestoring) {
190 watch(

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

Calls 1

refetchMethod · 0.80

Tested by 9

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