Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function can, optionally, return a value.
API
function untracked<T>(nonReactiveReadsFn: () => T): T;
Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function can, optionally, return a value.
function untracked<T>(nonReactiveReadsFn: () => T): T;
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/core/untracked