New Features of Angular 6
Posted By : Palak Sharma | 17-May-2018
What's new in Angular Family, well its 6th version is launched, and here are the few highlights what is new in Angular 6. Let's have a look.
1) Animations:- Earlier we could n't able to recognize that in which animation context angular is running, whether we are running on BrowserAnimationsModule or in NoopAnimationsModule, but in Angular 6 they have provided us a token which helps in determining in which animation context our application is running.
2) Ng Update:- Now we have a command as "ng update" which will automatically update the angular dependencies of our CLI Application. All dependencies of our angular application will be updated to the latest stable version.
3)NgModalChange:- In Angular 6 this event will be emitted after the value is assigned and validity is there until the controller is updated. Earlier it used to get emit before the controller gets an update.
4) BazelCompiler:- Bazel is a build system which is nearly used for all software built in google. With this support, we can compile the necessary code only. It uses advanced local and distributed cache, which will boost the performance of our application.
5) Typescript 2.7+:- With the support of Typescript 2.7+ it will be much easier to enhance the code dependencies, it will much easier to code with conditional type declarations, default declaration and strict class initialization.
6) Ivy Renderer:- Ivy Renderer is a new design engine which is designed to improve the speed of the renderer and it also optimizes the size of the application.
7)Service worker safety:- Service worker is a script that runs in the web browser. It manages cache for an application. For example, when we are deploying our build sometimes we need to unregister our existing services, but with this new script file which is added in production bundle, automatically allows to unregister the existing services.
These are the major features which are added in Angular 6 version. To have a more stable and faster accessible application use Angular 6.
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Palak Sharma
Palak is enthusiastic and passionate about coding , Her areas of expertise in coding languages are JavaScript and angular , html and css .