What are the New Features in Angular 9?

Angular 9: Features

  • Default Ivy Compiler
  • Smaller Bundle Size
  • Better Debugging
  • Faster Compilation
  • Ahead-of-time (AOT)
  • Angular 9 requires Typescript 3.7

Ivy

Smaller bundle size

Better Debugging

Faster Compilation

AOT and Ivy

“options ”: {
“outputPath”: “dist/project”,
“index”: “src/index.html”,
“main”: “src/main.ts”,
“polyfills”: “src/polyfills.ts”,
“tscongif”: “tsconfig.app.json”,
“aot”: true,
“name”: “project”
“version”: “0.0.0”,
“scripts”: {
“postinstall”: “rgcc --properties es2015 browser module main --first-only
--create-ivy-entry-points”,
“ng”: “ng”,

What is AOT?

ng serve -aot					 	//to build and serve
ng build -aot //to build

How to update the Angular version 9 from Angular 8

ng update @angular/cli@8 @angular/core@8
ng update @angular/cli @angular/core

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store