Edition 24/03: Angular 17.1
Angular 17.1 was released according to plan. Signal Inputs are its main feature.
As the name says, components get their input value as a Signal. Instead of the decorator @Input, we use a function called input. We can now react to changes in the form of computed, effect or just get the value directly from the Signal.
Three flavors are available:
Transformation functions for type mapping and parameter binding from the router are also possible.
For testing, the web test runner is available in an experimental mode. It will replace Karma, which runs Jasmine tests inside of the browser. There are no plans to replace Jasmine.
To use the Web Test Runner:
More information in the commit's description:
There was some speculation about support for zoneless applications. We can disable zone.js
To activate the new scheduler, add ɵprovideZonelessChangeDetection() to the providers property of the bootstrapApplication call.
At the moment, the new scheduler is an internal feature. Only use it if you want to live on the bleeding edge.
ngUpdate will not migrate to Input Signals. There is, though, a community migrator from Chau N Tran :
Helping organizations unlock real business value with AI enablement, modernization, and strategy. CEO @ This Dot Labs | 5x Microsoft MVP Award | 3x GitHub Star | 7x Google Developer Expert
1yAwesome rundown!
Architecte front Angular
1yAwesome review of the latest version, great job Rainer !
Senior Software Engineer
1yGabriel Sotto
Google Developer Expert for Angular 🅰️ 🇭🇰 | NestJS | Web AI | Blogger | 🔊 Content Creator | Speaker | Software Architect
1yVery detailed coverage of 17.1.0. Thanks Rainer