In this article I will show how to use the ahead of time compiler (AOT) in Angular 2 to improve performance.

Before our application can be rendered, the browsers has to do a fair amount of processing to convert all the Angular specific syntax to regular JavaScript. This process of evaluating binding expressions and parsing templates is called compilation.

As part of compilation, html templates are converted to executable JavaScript that the browser will execute to render the application.

Source: Ahead of Time Compilation in Angular 2.0

Posted in: Articles.
Last Modified: August 26, 2016

Leave a Reply