What is aot compilation? Why use in angular 2?
Answer / Amit Kumar Rathaur
Ahead-of-Time (AOT) compilation in Angular 2 precompiles the TypeScript templates and JavaScript code into optimized, executable JavaScript. This improves performance by eliminating runtime checks, reducing file size, and enabling better tree shaking. It is recommended to use AOT compilation with production builds for optimal performance.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are promises in angularjs?
Why we use routing in angularjs?
What is components in angular 2?
How to open and close modal popup using typescript and bootstrap?
How do jit compilers work?
What is forms in angular?
What is service factory?
What is Component in Angular Terminology?
How to do email and phone no. Validation in angularjs?
What are decorators?
What are angular global apis?
What is $log Service?