Angular 18 introduces zoneless change detection, an experimental feature that removes the need for Zone.js, enhancing performance, reducing bundle size, and simplifying debugging. Zoneless change detection allows components to inform Angular directly when their state changes, improving efficiency. Though currently experimental, the Angular team is committed to supporting both Zone.js and zoneless change detection, offering a potential future shift towards zoneless as the default. The article also provides a step-by-step guide to setting up zoneless change detection in a new Angular app.
Table of contents
See how LogRocket's AI-powered error tracking worksWhat is change detection?Zoneless change detectionExperiment with zoneless change detectionOver 200k developers use LogRocket to create better digital experiencesZone.js and ZonelessThe future of Zoneless in AngularExperience your Angular apps exactly how a user does2 Comments
Sort: