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


Visual Studio 17.9 Now Generally Available
18/03/2024

Visual Studio 17.9 is now fully available with AI assistance and better extensibility. The first preview of 17.10 has also been made available in preview.



Eclipse JKube 1.16 Goes GA
08/04/2024

Eclipse JKube makes deploying your Java application to a Kubernetes cluster a breeze. Let's find out what's new.


More News

raspberry pi books

 

Comments




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

<ASIN:1871962501>

<ASIN:1871962528>