InterviewHubPRO
Section Overview
Q76

Question 76 of 283

Part 4: JIT vs AOT Compilation, Metadata & TypeScript (76 - 100)

27%
Angular & Signals (283 Qs)•Part 4: JIT vs AOT Compilation, Metadata & TypeScript (76 - 100)

What are different types of compilation in Angular?

Angular offers two ways to compile your application,

  1. Just-in-Time (JIT)
  2. Ahead-of-Time (AOT)

Practical Code Example

text
// Angular Compilation Modes:
// 1. JIT (Just-In-Time): Compiles templates in browser runtime (used in legacy development)
// 2. AOT (Ahead-of-Time): Compiles templates during build time before deployment (standard)