Just-in-Time (JiT) vs Ahead-of-Time (AoT) compilation in Angular

前端 未结 8 717
难免孤独
难免孤独 2020-12-04 05:50

I was referring this documentation and came across the compilation concept. One can use either JIT or AOT compilation. However, I found it very brief and need to know follow

8条回答
  •  自闭症患者
    2020-12-04 06:39

    There is actually only one Angular compiler. The difference between AOT and JIT is a matter of timing and tooling. With AOT, the compiler runs once at build time using one set of libraries; with JIT it runs every time for every user at runtime using a different set of libraries.

提交回复
热议问题