|Angular 14 Adds Typed Forms|
|Written by Ian Elliot|
|Monday, 20 June 2022|
Angular 14 has been released with improvements including typed forms, standalone components, and new primitives in the Angular CDK (component dev kit).
The new release implements strict typing for the Angular Reactive Forms package, so closing Angular’s top GitHub issue. Typed forms give developers the certainty that the values inside form controls, groups, and arrays are type safe across the entire API surface.
The next improvement, Angular standalone components, are designed to streamline the authoring of Angular applications by reducing the need for NgModules. In v14, standalone components are in developer preview.
The Angular Component Dev Kit has also received attention. The CDK provides a suite of tools for building Angular components. This release includes new CDK primitives that can be used to create more accessible custom components based on the WAI-ARIA menu and menubar design patterns. The primitives focus on four areas where NgModules are currently used:
Another improvement in this release is extended developer diagnostics. These provide an extendable framework designed to give more insight into your templates and how you might be able to improve them. Diagnostics give compile-time warnings with precise, actionable suggestions for your templates, catching bugs before run-time.
Angular 14 also includes support for the latest TypeScript 4.7 release and now targets ES2020 by default, which allows the CLI to ship smaller code.
Angular 14 is available now.
or email your comment to: email@example.com