Wednesday, August 26, 2020

What's new in Angular 10

Angular 10 was released on June 24, 2020. Angular 10 offers support for TypeScript v3.9

To upgrade an existing Angular 9 application to Angular 10, just run the ng update command as follows

What's new in Angular 9

Angular 9 was released on February 6, 2020. Ivy compiler and runtime are now made default in Version 9, this helps in faster build and smaller bundle size. Angular 9 has been updated to work with TypeScript 3.6 and 3.7
To upgrade an existing Angular 8 application to Angular 9, just run the ng update command as follows

ng update @angular/cli @angular/core

One of the major features of Angular 9 is making the Ivy compiler as default, this offers the following improvements

What's new in Angular 8

Angular 8 was released on May 28, 2019. Angular 8 provides features like Differential loading, Dynamic imports for lazy routes, Web workers, TypeScript 3.4 support and Angular Ivy & Bazel as an opt-in preview features.

Differential loading
With differential loading, the Angular production build will produce 2 separate bundle files. One ES5 bundle for legacy browsers. Another ES6 bundle for the latest browsers which support ES6 features. This helps in improving the loading speed and performance in modern browsers since this bundle file is smaller in size.