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). Angular is an open source TypeScript-based web application framework that can be used for building JavaScript apps and dynamic web pages. Following work on its development by Google, it has gained widespread support. 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.
More InformationRelated ArticlesAngular 12 Moves Closer To Ivy Angular 11 Released With Byelog Goal Complete Angular 8 Adds Default Differential Loading AngularJS 2.0 Is Radically Different
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info <ASIN:1871962501> <ASIN:1871962528> |