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

Method syncProjectsQueryOptions

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

Source from the content-addressed store, hash-verified

192 }
193
194 private syncProjectsQueryOptions(): void {
195 const { queryKey, queryFn } = projectsQueries.list(
196 this.page,
197 this.delayMs,
198 this.forceErrorMode,
199 )
200 this.projectsQueryOptions.queryKey = queryKey
201 this.projectsQueryOptions.queryFn = queryFn
202 }
203
204 private refetchForCurrentState(): void {
205 this.syncProjectsQueryOptions()

Callers 3

constructorMethod · 0.95
resetDemoStateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected