CodeZettaInterview Hub

Angular · Change Detection · Junior · Scenario

When would you detach a change detector?

Short Interview Answer

Rare cases like high-frequency updates where you manually control when to reattach/detect.

Detailed Explanation

Detaching skips automatic checks. Easy to forget reattach—prefer OnPush/signals first. Useful for virtual scroll internals sometimes.

Did you know this answer?