Executes non-reactive code.
Accesses on reactive objects made inside callback will not be tracked, even if they occur inside a computed object or in an effect.
callback
untracked returns the value of callback().
untracked
callback()
Executes non-reactive code.
Accesses on reactive objects made inside
callback
will not be tracked, even if they occur inside a computed object or in an effect.untracked
returns the value ofcallback()
.