What's New in Angular 4

Jun 01,2017 | Posted by : Michelle Esposito

Angular 4.0 is now available and this major release is chock full of improvements that are guaranteed to reduce file size and increase performance. With more than 30 new features added to boost speed and efficiency, we’ve narrowed down some of the top features that will make your job easier:

Backwards compatible
Developers will be happy to learn that the Angular 4 release will work with existing code and is backwards compatible to 2.x.x. There was no Angular 3 release due to misalignment of the router package’s version. They decided to pack in the features and go straight to the Angular 4 release.

New If Else conditionals
A major improvement of Angular 4 compared to Angular 2 is the Improved *ngIf and *ngFor feature. In Angular 2 you were not able to specify an else statement after an if. In Angular 4, you are now able to use an if/else syntax and assign local variables, which is a complete game changer.

Animations in their own package
For developers that don’t use animation, the release of Angular 4 offers a major improvement by pulling the animations out of @angular/core into their own package. This means the code won’t end up in your production bundle and is a major upgrade compared to Angular 2.

Reduced file size, better apps performance
Changes under the hood to AOT generated code resulted in an average of 60 percent file size reduction. You can expect to reduce production bundles by hundreds of kilobytes. Due to shrinking the size of the generated code you can expect apps to work 30 percent better.

So what are you waiting for? With the new Angular 4 release it’s time to upgrade your version and the Angular team made it very easy to do so. Before making the update take the time to learn the new program from an expert instructor at The Training Advisors. There are classes available nationwide to fit your needs whether it be a remote session or an in-person class.

View our nationwide schedule for Comprehensive Angular 4 training.

angular 2 versus angular 4 angular training angular 2017 release angular 4 training angular angularjs what's new in angular 4 angular 2 angular 4 angular 2 vs angular 4

Views: 278

Request a Quote for this Class