Angular zoneless change detection
What is zoneless Angular, and what must be true before enabling it in production?
Answers use simple, clear English.
Audio N/AQuick interview answer
Zoneless mode runs without Zone.js patching async APIs; updates rely on signals, async pipe notifications, and explicit marking. Benefits: smaller bundles, clearer stack traces. Before production: migrate critical state to signals/OnPush, audit third-party libs that assume Zone, and test all event/async paths for UI updates.
Detailed answer
Zoneless mode runs without Zone.js patching async APIs; updates rely on signals, async pipe notifications, and explicit marking. Benefits: smaller bundles, clearer stack traces. Before production: migrate critical state to signals/OnPush, audit third-party libs that assume Zone, and test all event/async paths for UI updates.
Real example & use case
New Angular 19 app bootstraps with zoneless providers after signals adoption.
Pros & cons
Pros: performance/debuggability. Cons: Zone-assuming libraries break.