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

Method refetchForCurrentState

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

Source from the content-addressed store, hash-verified

202 }
203
204 private refetchForCurrentState(): void {
205 this.syncProjectsQueryOptions()
206 void this.projectsQuery.refetch()
207 }
208
209 private async maybePrefetchNextPage(): Promise<void> {
210 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