INTRODUCTION
In the realm of web application development, Angular is viewed as a standout amongst other open-source JavaScript frameworks. Angular 2 was released on September 14, 2016 and roughly 6 month after the release of Angular 2 , Angular 4 was made available.The final version was released on March 23, 2017. Let's examine why this update was released and what it adds to web development.What is new in ANGULAR 4 and how it differs from ANGULAR 2?
When contrasted with Angular 2, there are heaps of new things added. New components as well as a few changes that enhanced old abilities. So how about we proceed onward to see the list.- Compact and Faster: With Angular 4, projects will expend less space and run faster than past variants.
- View Engine size reduced: Size of view engine is reduced by approximately 60 percent.
- Animation package: Angular 4.0 have pulled the animations out of @angular/core and set them into their own package. This means that if we don’t use animations, the extra code will not end up in production bundles.
- *ngIf and *ngFor: NgIf syntax is extended to support the else clause to show the template when the condition is false.
- Angular Universal: With Angular Universal, it's conceivable to render Angular applications outside of the program, for example specifically on the web server.
- Compatible with Type Script 2.1 and 2.2: Type security of Angular applications and the speed of ngc-Compiler have been elevated.
- Templates: Source maps are for templates too.Template Compiler will create source maps for templates.
Post A Comment:
0 comments: