101 total views
What are the New Features in Angular 9?
Furthermore, Angular is the first preference for the front-end development for developers across the world. The new story of Angular is released every six months. In this blog, we shall overview the unique points of version 9.
Angular 9: Features
Default Ivy Compiler
More modest Package Size
Angular 9 requires Typescript 3.7
Let’s look at the new information Angular 9 brought us, and there is one significant and main new feature in angular 9 is Ivy.
Levy is the code name for the AngularJS next-generation organizing and rendering pipeline. Angular 9’s compiling and rendering powerhouse is known as Ivy. Application build with IVY is more effective. The new version of Angular use View Engine and View Engine produced a large size package. But with the help of levy, this package has considerably decreased, thereby helping Angular overcome its bundle effects.
Smaller bundle size
Debugging is one of the highlights of the Ivy compiler and runtime. It isn’t simple to develop an utterly bug-free application. Developers will not need to be debugging through the framework; they can do it on the component itself, encouraging you debug your code quickly.
Earlier, when you run the ng build command, the whole application gets recompiled because the Angular elements are informed of themselves’ colonies.
For example, a component receives *ngIf, that the part would also know what this *ngIf can compile, you make corrections to any of the dependencies, all components holding this *ngIf need to be recompiled. The team reached up with an approach with the locality principle, which brought forth a single file compilation. Components that contain *ngIf don’t need to know dependencies. In this case, some part is recompiled, nothing else required to recompile
AOT and Ivy
AOT, besides with levy, speed up building an application to active AOT in your application. Open angular.json file and set aot: true.
“Output path”: “dist/project”,
If you like to develop your application efficiently, you will become to run it once after connecting third-party packages. To do this, include the below script in the package.json file.
“postinstall”: “GCC –properties es2015 browser module main –first-only
What is AOT?
update to 9
ng update @angular/cli @angular/core
The main goal of Angular 9 is to perform it available for all apps. The main advantage of Ivy is to decrease the size of requests for better user expertise.
Mobile Solutions is a .Net Web Application Development that will control you with important advice on the technology that best fits your company solution. You can contact and get a 1-week free conference help from the best technocrat of the team.