How does the angular do the compilation?

Share the post

If you have the question in your mind that How does the angular do the compilation? What are the different types of compilation techniques used in angular? then this blog is for you.

There are two types of compilation techniques found in angular

1.JIT (Just-in-Time) == > Works in run time

2.AoT(Ahead-of-Time) ==> Works in build time

Normally angular operations are running in run time which is JIT (Just In Time) compilation when you run command ionic serve, Whereas AoT (Ahead Of Time) basically converts your HTML and typescript files into browser understandable javascript before browser download & run code. It will help to faster render in the browser.

Leave a Comment