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.

angular

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:

  • bootstrapping an application
  • routing and lazy loading
  • dynamically instantiating a component
  • providing a lifecycle hook for initialization logic

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.

angular

More Information

Angular Site

Related Articles

Angular 12 Moves Closer To Ivy

Angular 11 Released With Byelog Goal Complete

Angular 9 Moves To Ivy

Angular 8 Adds Default Differential Loading  

Angular Jumps To Version 4  

Angular 2.0.0 Launched 

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.

Banner


GitHub Is Retiring Atom
09/06/2022

GitHub has announced that it is shutting down the Atom editor in six months time. Why is it doing this and what should its users do?



MongoDB 6 Adds Encrypted Query Support
07/06/2022

MongoDB 6 has been released with improvements aimed at letting developers innovate more rapidly. To achieve this the new release has integrated features into the core database platform including appli [ ... ]


More News

pythondata

 



 

Comments




or email your comment to: comments@i-programmer.info

<ASIN:1871962501>

<ASIN:1871962528>