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

Method refetchForCurrentState

examples/lit/pagination/src/main.ts:222–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220 }
221
222 private refetchForCurrentState(): void {
223 this.syncProjectsQueryOptions()
224 void this.projectsQuery.refetch()
225 }
226
227 private async maybePrefetchNextPage(): Promise<void> {
228 const query = this.projectsQuery()

Callers 4

onDelayInputMethod · 0.95
onErrorModeToggleMethod · 0.95
goToPreviousPageMethod · 0.95
goToNextPageMethod · 0.95

Calls 2

refetchMethod · 0.80

Tested by

no test coverage detected