New Features in Angular 5

Posted By : Manisha Kirodiwal | 15-Dec-2017

 

The Angular 5.0.0 update focuses on making the frame faster, smaller and easier to use.

 

Key features include:

 

  • Emphasis is placed on facilitating the creation of progressive web applications, so that applications can be cached in the browser. The continuous concept of web applications, the product of a collective effort between Google and Mozilla, is to allow the development of browser-based applications that offer a superior experience, similar to the native one. Google is still creating support for the capability in the command line interface (CLI).

  • A compilation optimizer that reduces the application by eliminating unnecessary code. (A compiler optimizer is a command-line tool).

  • Make the Materials Design components compatible with the server-side representation. Google needs to fix some errors before releasing this functionality.

  • Can share the code between server-side and client versions of an application using Angular Universal State Transfer API and DOM support.

  • The compiler has been improved to support incremental compilation. The compiler works as a TypeScript transformation, for faster reconstructions.

  • Pipes for internationalized number, date and currency. This increases stabilization in all browsers and eliminates the need for i18n polyfills.

  • The size of the application is reduced due to ReflectiveInjector has been replaced with the StaticInjector for removing more polyfills.

  • Multiple names are allowed for components and policies, which is useful to help users migrate without breaking the changes.

  • Angular 5 has an updated Httpclient.

  • CLI 1.5, which generates Angular 5 projects by default.
    For angular forms, developers can perform validations and updates of values ??in blur and send instead of each entry event.

  • The RxJS reactive programming library has been updated to version 5.5.2 or later, introducing operators that eliminate the side effects of code division and tree shake problems. RxJS now scatters a version which depends on ECMAScript modules, which are extracted by default by the CLI.

  • Router hooks have been added to track the router cycles from the beginning of the running protections to the end of the activation.

 

Angular 5 has a problem with production compilation source maps, with some maps resulting in undefined sources of errors. In addition, many previously obsolete APIs, such as Opaque Token, have been removed.
 

About Author

Author Image
Manisha Kirodiwal

Manisha is a Web Application developer and she is good in working with Angular, TypeScript , JavaScript and Jquery. In free time she loves to dance and cooking.

Request for Proposal

Name is required

Comment is required

Sending message..