Loading...
Loading...
Browse 3 real-world technical and behavioral interview questions about Change detection. Review scenarios, edge cases, and architectural best practices.
OnPush checks a component only when an input arrives with a new reference, a template event fires, an async pipe or signal it reads emits, or you mark it. Mutating an object in place satisfies none of those, so the view never gets checked.
Each must decide what to re-render when data changes, how derived values stay correct, and how a component gets a dependency it did not create. Angular answers with dirty checking now moving to signals plus a hierarchical injector, Vue with proxy-based per-property tracking, React with convention plus memoisation.
Your path may read from the safety layer and must never write to it, and independence means separate devices, separate logic and separate change control rather than a separate screen. You detect alteration by watching programme identity, key-switch position and proof-test records, not by assuming nobody would.