MCPcopy
hub / github.com/vuejs/core / resetTracking

Function resetTracking

packages/reactivity/src/effect.ts:541–544  ·  packages/reactivity/src/effect.ts::resetTracking
()

Source from the content-addressed store, hash-verified

539 * Resets the previous global effect tracking state.
540 */
541export function resetTracking(): void {
542 const last = trackStack.pop()
543 shouldTrack = last === undefined ? true : last
544}
545
546/**
547 * Registers a cleanup function for the current active effect.

Callers 14

watchFunction · 0.90
noTrackingFunction · 0.90
computed.spec.tsFile · 0.90
effect.spec.tsFile · 0.90
updateComponentPreRenderFunction · 0.90
unmountFunction · 0.90
handleErrorFunction · 0.90
warnFunction · 0.90
headerFunction · 0.90
injectHookFunction · 0.90
setRefFunction · 0.90
setupStatefulComponentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected