Angular 9 Is Here

Angular 9 switches applications to the Ivy compiler by default, and offers enhanced ways of testing components.

Recently, the Angular team announced 9.0.0 release of the Angular. 9.0.0 is a major release that spans the whole platform, including the framework, Angular Material, and the CLI.
 
Also, the latest release switches applications to the Ivy compiler and runtime by default and introduces improved ways of testing components.
 
The team said that this is one of the biggest updates to Angular made in the past 3 years.
 
According to the team Ivy compiler and runtime brings numerous advantages such as smaller bundle sizes, faster testing, better debugging, improved CSS class and style binding, improved type checking, improved build times, enabling AOT on by default, and more.
 
A post from Angular says that Ivy compiler removes parts of Angular that aren’t being used through tree-shaking and generates less code for each Angular component. This results in most dramatic size savings.
 
Ivy compiler helps small apps that don’t use many Angular features to benefit most from tree-shaking. While large apps with a bunch of components get benefit most from the reduced factory size.
 
 
Source: Angular 
 
Angular has also revamped the implementation of TestBed in Ivy to make it more efficient. "In Ivy, TestBed doesn’t recompile components between tests unless a component has been manually overridden, which allows it to avoid recompilation between the grand majority of tests." says Angular blog.
 
These changes have brought the framework’s core acceptance tests to about 40% faster. Users are expected to find their own application test speeds to be around 50% faster.
 
To update to version 9 you can visit update.angular.io for guidance.
 
Angular is one of the most popular JavaScript frameworks in the world. Read more here: Top 10 JavaScript Frameworks