What is an AOT in the Angular?

Forums AngularWhat is an AOT in the Angular?
Staff asked 4 years ago

How AOT work in the Angular and advantages of AOT.

Answers (1)

Add Answer
Shahjaha Shaikh Marked As Accepted
Staff answered 4 years ago

AOT:

The Ahead Of Time(AOT) is a compiler that converts Angular’s HTML and Typescript code into the Javascript code during the building phase. i.e., before the browser downloads and runs the code.

Advantages:

– Loads the page more quickly.
– Template bindings errors are shown at the time of building.
– Smaller Angular framework download size.
– Fewer asynchronous requests.

Subscribe

Select Categories