Angular 18 will arrive next week

The next major version of Google’s web framework will move deferred views and built-in control flow from developer preview to stable.

fat red number 18 eighteen on a white background
morenina / Shutterstock

Angular 18, the next planned release of Google’s TypeScript-based web app development framework, is due to arrive on May 22, with features such as deferrable views and declarative control flow moving out of developer preview to a stable stage.

Deferrable views, which are also known as @defer blocks, can be used in component templates to defer the loading of select dependencies within the template, thus reducing the initial bundle size of the application. Declarative control flow is a new built-in syntax for control flow that brings functionality such as  NgIf, NgFor, and NgSwitch into the framework itself (as @if, @for, and @switch respectively), allowing developers to conditionally show, hide, and repeat elements.

Other features planned for Angular 18:

Angular 18 follows the November 2023 release of Angular 17, which previewed control flow and introduced hydration to restore the server-side rendered application on the client.

Next read this:

Related:

Copyright © 2024 IDG Communications, Inc.