Do you prefer JavaScript or TypeScript?
Are you coming from any of the following frameworks?

untrack

ts
function untrack<T>(fn: () => T): T;
ts
function untrack<T>(fn: () => T): T;

Ignores tracking any of the dependencies in the executing code block and returns the value.