Angular Interview Questions - Difference between JIT and AOT Compiler
Вставка
- Опубліковано 15 жов 2024
- Angular Interview Questions Difference between JIT and AOT Compiler
-----------------------------------------------------------------------------------------------------------------------
In the series of Angular Interview question , In this video we will cover , what is the differences we have between JIT and AOT Compiler
• JIT - Just-in-Time Compiler : JIT compiles the application in the browser at runtime.
• AOT - Ahead-of-Time Compiler : AOT compilation compiles the application at build time.
Differences:
-----------------------------------------------------------------------------------------------------------------------
****************
JIT -
****************
1. Compile at runtime in the Browser
2. Larger Angular bundle files size
3. Detect template errors later at runtime
4. Slower rendering
5. More asynchronous requests
6. Less security
7. Less Performance
8. Good for the development
****************
AOT -
****************
1. Compile at build time
2. Smaller Angular bundle files size
3. Detect template errors earlier at compile time
4. Faster rendering
5. Less asynchronous requests
6. Better security
7. Better performance
8. Good for the production
Used Command:
-----------------------------------------------------------------------------------------------------------------------
ng serve
ng build --aot --output-hashing none --base-href webcomponent
Follow Me:
-----------------------------------------------------------------------------------------------------------------------
FACEBOOK - / kyprogramming
TWITTER - / kyprogramming
UA-cam Channel -
-----------------------------------------------------------------------------------------------------------------------
/ @kyprogramming
/ @kyprogramming
Code:
-----------------------------------------------------------------------------------------------------------------------
github.com/kyp...
If you have not subscribed yet then please SUBSCRIBE and do not forgot to press the bell icon in order to get notification for all my upcoming videos as well as please like and share to the others as well.
Interview Questions -
-----------------------------------------------------------------------------------------------------------------------
What is difference in between JIT and AOT?
What JIT and AOT Stands for?
Difference in between JIT and AOT?
Is AOT good for development?
Is JIT good for production?
What all the difference compilers we have in Angular?
What is the compilation process in JIT and AOT?
What was the issue with JIT compiler ?
Why IVY render engine is being used?
In which angular version IVY was introduced?
How to create a service?
How to create a component?
How to create a Web component?
How to migrate component to web component?
How to use web component to any other application?
How to configure web component in angular?
How to pass parameter @Input() to the component?
How to concatenate java scripts files using node?
How to use HttpClient module in the web component?
How to create a new Angular web application?
How to create a get API angular Service?
How to create a Movie-Search Component ?
How to create a component to single standalone java script file?
How to use Bootstrap CSS to Angular application via Bootstrap's CDN?
How to use same component multiple times in angular application?
After watching 4 to 5 videos, I understood only by watching this video about AOT and JIT.
thanks for making this video. I love it
Thank you very much and glad you liked it.
Nice in depth video, missing these types of video in UA-cam, I watched the video in 1.5x. Anyway, keep making, keep teaching ❤❤
Thank you 🙏 for your appreciation!
thanks for the detailed comparison....
Your welcome👍
This is what expected ❤
Wow...🔥🔥🔥🔥
Thanks a lot..
Just a small doubt. Is the ng serve always JIT, irrespective of whether we put aot as true or false in the angular.json?..
Please reply.
When you run the ng build (build only) or ng serve (build and serve locally) CLI commands, the type of compilation (JIT or AOT) depends on the value of the aot property in your build configuration specified in angular. json . By default, aot is set to true for new CLI applications.
Thank you very much!
@@kyprogramming thanks for the clarification
Awesome explanation, thanks a lot for this video, very helpful ❤
Glad you liked it
Did you have to put this Subscription notification every minute?
Thanks for your suggestion, I have moved subscription notification in the last for all my later uploaded videos.
Connecting Database from angular app, pls make a video
@@satishchandra3076 Dear Satish, angular does not connect directly with database. It connect with the database using API. Certainly I'll make the video on it. Thank you for your suggestion.
very good explanation.
Thank you 👍
Thank bro. Very well explained
Thanks a lot for your comment 👍
Nice explanation
Thank you!
Very well explained
Thank you Omkar!
Very well explained 😊
Thank you Pryanka!
Best vdo on int
Thank you Shahrukh for your comment!
Bhai please upload more videos on angular
aapki explanation bhot acchi hai.
please please please please please please please please please please please please upload more videos on angular
Thank you
thank you very much..!!