Sunday, 3 November 2019

Difference between Angular 2 and Angular 4


Difference between Angular 2 and Angular 4
Angular 2
Angular 4
The code generated using Angular 2 is bigger, and the file size is also larger.
Angular 4.0 has reduced the bundled file size by 60%. Thus code generated is reduced which helps to accelerate the application performance.
Angular two is not backward compatible with Angular JS.
Angular four is backward compatible with Angular 2 for most applications.
There is no specific no proper disapproval phases to adjust codes.
There will be proper disapproval phases to allow developers to adjust their code
There is no animation feature offers in Angular 2.
Animation features are pulled out of @angular/core and included into their package


No comments:

Post a Comment