Description
We can create lightning components using two programming models:
1. Aura
2. LWC
LWC uses Web components standards and provides what over and above is required to perform well on browsers.
With time, web standards have evolved a lot and browser vendors have implemented them in form native browser APIs and considering LWC is built on code natively running on browsers makes it more lightweight and delivers exceptional performance as compared to AURA.
If you take a look at the below figure you will notice how in the LWC programming model almost everything is coming from native APIs implemented by browsers. While in the AURA programming model, we had to implement a lot of proprietary components, modules, etc to make the framework work.
1. Aura
2. LWC
LWC uses Web components standards and provides what over and above is required to perform well on browsers.
With time, web standards have evolved a lot and browser vendors have implemented them in form native browser APIs and considering LWC is built on code natively running on browsers makes it more lightweight and delivers exceptional performance as compared to AURA.
If you take a look at the below figure you will notice how in the LWC programming model almost everything is coming from native APIs implemented by browsers. While in the AURA programming model, we had to implement a lot of proprietary components, modules, etc to make the framework work.