-1

I am going through the Angular documentation for AOT. I came across the word pre-compiled, but I'm unable to understand the meaning of it.

The line in the Angular documentation is:

With AOT, the browser downloads a pre-compiled version of the application.

Link to documentation is https://angular.io/guide/aot-compiler

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
yash
  • 203
  • 4
  • 12

1 Answers1

1

Just-in-Time (JIT), which compiles your app in the browser at runtime. Ahead-of-Time (AOT), which compiles your app at build time.

The word pre-compiled means it already complied i.e your Angular HTML and TypeScript code compiled into efficient JavaScript code during the build phase itself before delivered and being run in the browser.

Srinivasan Sekar
  • 2,049
  • 13
  • 22