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

Method refetchForCurrentState

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

Source from the content-addressed store, hash-verified

221 }
222
223 private refetchForCurrentState(): void {
224 this.syncProjectsQueryOptions()
225 void this.projectsQuery.refetch()
226 }
227
228 private async maybePrefetchNextPage(): Promise<void> {
229 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