JIT and AoT in Angular

In this another small article I am going to explain what is different between JIT and AoT in Angular and which one is better.

Just In Time (JIT) and Ahead of Time (AoT) is Angular compiler which runs in Angular background

Just in Time (JIT)

Inefficent for production mode
Happens for every user
More compmonents, slower
we have to ship Angular compiler

Ahead of Time (AOT)

Faster startup
smaller bundle size
catch template errors earlier
better security

Leave a Reply

Your email address will not be published.