DEV Community

Nhan Nguyen
Nhan Nguyen

Posted on

1

Angular v18 highlights

​The Angular v18 has been released 🚀🚀🚀.

Check out the official announcement for in-depth updates.

Some highlights of this new version are here:

➖ Control flow syntax is now stable, and useful warnings are included when the track option is not used correctly.

➖ Defer block is also stable for lazy-loading Angular templates any way we want.

➖ Zoneless change detection to unlock the full benefits of signal-based components.

➖ Fallback content for content projection with ng-content. Here is how to use it to make the default content “Hi” in this example if the select query doesn’t return anything:

<ng-content select=".greeting">Default</ng-content>
Enter fullscreen mode Exit fullscreen mode

➖ New events Observable available on form controls, which returns any event going on in that control, including the different form state properties (valid, pristine, etc.)

➖ etc


I hope you found it helpful. Thanks for reading. 🙏

Let's get connected! You can find me on:

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay