Home >Web Front-end >JS Tutorial >Whats New in Angular Standalone Components, Signals, and More!
Angular continues its rapid evolution (with new major versions every ~6 months). Now in November 2024, Angular 19 arrives, packed with powerful features that boost developer experience and application performance. From improved hydration to enhanced signals. Let's dive into the highlights from the Angular 19 launch event.
first time we meet standalone Component was in Angular 14 and have been improved with every release since. With Angular 19, all components, directives, and pipes are now standalone by default, eliminating the need to explicitly set standalone: true.
Additionally, updates are seamless, the ng update command automatically refactors existing codebases, ensuring a smooth and hassle-free transition.
In Angular 16, we had our first meeting with Angular Signals, and it was love at first sight, and they’ve continued to reshape Angular's reactivity system. With Angular 19, several signal-based APIs have been promoted to stable status, including input(), output(), model(), viewChild(), viewChildren(), contentChild, contentChildren(), takeUntilDestroyed(), outputFromObservable(), and outputToObservable().
Additionally, Jeremy Elbourne introduced two new experimental Signal APIs:
To make the transition effortless, commands like ng g @angular/core:signal-input-migration, ng g @angular/core:signal-queries-migration, and ng g @angular/core:output-migration automate code refactoring with ease. Angular Signals truly feel like a match made in developer heaven.
Angular Material continues to evolve with every release, and Angular 19 is no exception, This update introduces enhancements across two key areas:
Hydration one of Angular’s best features, evolving over the past few versions with innovations like full application hydration, defer views, and event replay. Building on this foundation, Jessica Janiuk introduced one of the most exciting additions in Angular 19 incremental hydration, now available in developer preview.
That’s all for now! I appreciate you taking the time to read my article, and I’d love to hear your thoughts and feedback. As I continue to improve my writing, your insights are invaluable.
You can connect with me on:
The above is the detailed content of Whats New in Angular Standalone Components, Signals, and More!. For more information, please follow other related articles on the PHP Chinese website!