My Blog Posts

What's Next with Angular 9

What's Next with Angular 9


The main goal of Angular 9 is to make the Ivy compiler available for all applications. Ivy's benefit is that small and large-scale applications can significantly reduce the size.

Angular 9 Features

· Smaller packages and better performance

· TypeScript Diagnostic Format Support

· FormControlName also accepts a number on the form

· Allows selective instructions as base class in View Engine in the compiler

· Added support selectively-free instruction as base classes at Ivy and makes the Ivy compiler the default for NGC

· All ngtsc diagnoses ts. Converts to Diagnostics

· Core: dynamic queries schema 

· Ivy: expose window.ng.getDebugNode assistant and also ng-add support in the localization package

· Language-service : Enables log recording on TypeScriptHost

· Language-service : provides diagnostics for invalid templateUrls

· Language-service : provides diagnostics for invalid styleUrls

Significant Changes in Angular 9

1) Ivy applications:

Previously, in Ivy applications, Hammer providers were included by default. With this process, applications that require Hammer support must import HammerModule into the root modules.

'./dom/events/hammer_gestures' adresinden {HAMMER_PROVIDERS} dosyasını içe aktarın

2) Performance Improvements

· Ivy: Improve the performance of posted images

· ivy: move local references to consts array

Error fixes

1) compiler: Returns enableIvy true when using readConfiguration.

2) Ivy:

· Gets the name directly from nativeNode

· In ngcc, perform inline exports in common code

· Ngcc should only index .d.ts exports in package

· NgTemplateOutlet error when switching between null and template value

4) language-service :

· Sampling the Metadata Solver once

· You can remove the'context' used for module resolution

5) Ngcc:

· Perform importoperations



Share this article


Comments (0)

Comment