Perfomance optimization

Performance improvement checklist

Fixing and detecting memory leaks

Enable Prod mode

What does it do :

  • Reduce to a single check the change detection

  • do not use deep comparison of object for change detection

How to

import { enableProdMode } from '@angular/core';
// enable prod for faster renders

AOT / Ahead of time compilation

Precompilation of the code > Link to article

Universal angular

Prerendering on the server side.

Look at our introduction and step by step starter