Tuesday, October 2, 2018

What's new in Angular 5

Angular 5 was released in November 2017. The focus of Angular 5 was to make Angular faster again. The loading time has been improved by smaller bundles. The execution has been improved as well by optimizations at the compiler. Build optimizer was a major feature introduces in Angular 5, the build optimizer helps clean up unwanted code and reduce the size of the compiled bundle. Angular 5 supports TypeScript 2.4.

Angular 5 added further enhancements to Angular Universal, added modules ServerTransferStateModule & BrowserTransferStateModule. This module allows you to generate information as part of your rendering with platform-server, and then transfer it to the client side so that this information does not need to be regenerated.

Added new lifecycle events to the router to track the cycle of the router from the start of running guards through to completion of activation. The new events are GuardsCheckStart, ChildActivationStart, ActivationStart, GuardsCheckEnd, ResolveStart, ResolveEnd, ActivationEnd, ChildActivationEnd.


Search Flipkart Products:
Flipkart.com

No comments: