Latest updates in Angular 8 in brief

    Jun 02, 2019       by Pankaj Kumar
latest-feature-angular8.jpeg

Finally, Google has launched Angular 8.0.0. This release is including mainly change in Ivy, few features and some major changes. Angular 8.0.0 is smaller, faster and easiler for Angular developers to work on.

 

How to update to version 8

For most developers, one command should take care of this update:

ng update @angular/cli @angular/core

 

A few steps to keep in mind about upgrading your angular 7 application:

  • Some new syntax errors might pop out. That’s due to Angular 8 now using TypeScript 3.4, which might surface some issues that were not highlighted before.
  • You’ll want to make sure you’re using Node.js version 12 or later. You can check which version of Node you’re using by running $ node -v  over terminal. If its older then download the new from the official site of Node.js.

 

Upgrading Angular Material

 

If the current Angular application makes use of Angular Material, you’ll want to follow with this command:

ng update @angular/material

 

This command will also take care of changing your Angular Material component imports to each specific component rather than importing from the global @angular/material.

 

Latest Features included

Below are the latest features included in Angular 8.

  1. Differential Loading by Default
  2. Route Configurations use Dynamic Imports
  3. Builder APIs in the CLI
  4. Workspace APIs in the CLI
  5. Ivy and Bazel
  6. New Deprecation Guide
  7. AngularJs Migration Improvements
  8. Web Worker Support
  9. Smaller bundles, CLI APIs, and alignment with the ecosystem

 

What is Differential Loading?

Differential loading is a process by which the browser chooses between modern or legacy JavaScript based on its own capabilities. We now take advantage of this by default by performing a modern build (es2015) and a legacy build (es5) of your application. When users load your application, they’ll automatically get the bundle they need.

 

What is Ivy & Bazel?

We’ll have to wait a little bit more for Ivy, the new rendering engine, and Bazel, the new build system, to be ready for official use with Angular. An opt-in preview of the two should be available shortly.

 

Here I have tried to understand you the latest features of Angular 8 in very brief. For getting detail about the Angular 8 please follow the article on official blog of angular

 

Conclusion

So in this article, I briefly explained about the latest feature released with Angular8. If you are new to angular then click here to find many demos to start the app for enterprise level application

Let me know your thoughts over the email demo.jsonworld@gmail.com. I would love to hear them and If you like this article, share with your friends.


WHAT'S NEW

Find other similar Articles here: