W3cubDocs

/Angular

untracked

function developer preview

Execute an arbitrary function in a non-reactive (non-tracking) context. The executed function can, optionally, return a value.

untracked<T>(nonReactiveReadsFn: () => T): T

Parameters
nonReactiveReadsFn () => T
Returns

T

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/untracked