Angular 18 released with experimental zoneless change detection and stability improvements
Angular, the popular web development framework, has launched version 18, bringing a slew of improvements and new features aimed at enhancing developer experience and application performance. This release focuses on solidifying recent updates by graduating many APIs to stable status and addressing frequent developer requests.
One of the most anticipated features in Angular 18 is the experimental support for zoneless change detection. This enhancement aims to improve composability for micro-frontends and interoperability with other frameworks. Additionally, it promises faster initial render and runtime, smaller bundle sizes, quicker page loads, more readable stack traces, and simpler debugging.
The release also introduces a revamped Angular.dev website, featuring a modernized logo. Angular 18 stabilizes Material 3, deferrable views, and built-in control flow, incorporating a series of improvements to these components.
Server-side rendering sees notable enhancements in this release, including i18n hydration support, better debugging capabilities, hydration support in Angular Material, and event replay powered by the same library used by Google Search.
A new feature in Angular 18 is the @let block, which allows developers to declare a variable within a template and use it later. This addition, along with various other changes, enhancements, and bug fixes, rounds out the release.