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


PhpStorm Updated For PHP 8.3
21/11/2023

The latest version of PhpStorm, the IDE for PHP and web development from JetBrains, has been updated to support the new features of PHP 8.3, due to be released later this week. 



Microsoft Windows Announced 40 Years Ago
12/11/2023

Although it didn't launch until 1985, Microsoft Windows was announced in November 1983. It signaled the move for users from the command line to a GUI environment, something that some programmers still [ ... ]


More News

esp32book

 

Comments




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

<ASIN:1871962501>

<ASIN:1871962528>