Andersen Lab Interview Question

When does Angular trigger change detection?

Interview Answer

Anonymous

Oct 24, 2024

Angular’s change detection is triggered by: User interactions (clicks, input changes) Completion of HTTP requests Resolution of Promises Completion of setTimeout or setInterval Any other asynchronous task monitored by zone.js Manual invocations via Angular’s APIs