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

Method onQueryUpdate

packages/query-core/src/queryObserver.ts:715–721  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

713 }
714
715 onQueryUpdate(): void {
716 this.updateResult()
717
718 if (this.hasListeners()) {
719 this.#updateTimers()
720 }
721 }
722}
723
724function shouldLoadOnMount(

Callers 1

#dispatchMethod · 0.80

Calls 3

updateResultMethod · 0.95
#updateTimersMethod · 0.95
hasListenersMethod · 0.80

Tested by

no test coverage detected