Some of the new features in angular 6 are very promising and will be very useful for the developers.
HTTP client libraries have been moved to @angular/common/http.
One of the most exciting features of Angular is the full support of Angular Elements, so now we will very easily able to use the angular components in other frameworks such as VueJs.
In the earlier versions of Angular we used to declare the provider in app.module.ts. With this new updated version we will be able to declare the provider in the service file itself.
A brand new renderer has come with Angular 6. Ivy which has taken the tree shaking to another level. Tree shaking is an optimization step that ignores the unused code. With Ivy renderer, there will be very fast applications with very small bundles.
New updates have been introduced for ng-add and ng-update which makes life easier for developers.
Now whenever we use ng new, a new workspace is being generated for the default application. So, we can have multiple apps in the same workspace.
With some modifications to ng add now it has become possible to add third-party libraries without any manual effort. For example now for adding angular material, we can use the below command.
ng add @angular/material
Also, now we will be able to unregister the service worker.
Sign up for our newsletter to receive the latest news and event postings.