Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/query
/ onQueryUpdate
Method
onQueryUpdate
packages/query-core/src/queryObserver.ts:828–834 ·
view source on GitHub ↗
@internal
()
Source
from the content-addressed store, hash-verified
826
827
/** @internal */
828
onQueryUpdate(): void {
829
this.updateResult()
830
831
if
(this.hasListeners()) {
832
this.#updateTimers()
833
}
834
}
835
}
836
837
function
shouldLoadOnMount(
Callers
1
#dispatch
Method · 0.80
Calls
3
updateResult
Method · 0.95
#updateTimers
Method · 0.95
hasListeners
Method · 0.80
Tested by
no test coverage detected