Stop tracking an element that was previously tracked by track(). If you're
calling track for thousands of elements it's probably a good idea to untrack
them when you're done.
Parameters
id: string
Id of the element to untrack, as passed to track().
Returns void
Example
// Clean up when a component is removed functionremoveComponent(id:string) { constelement=tracked(id); if (element) { element.remove(); untrack(id); } }
Stop tracking an element that was previously tracked by
track()
. If you're calling track for thousands of elements it's probably a good idea to untrack them when you're done.