This is a brand-new programming model for creating lightning components. It builds the component using the W3C web standard, which makes it better, more robust, and powerful. LWC is a lightweight framework based on the web standard; it makes use of custom elements, templates, shadow DOM, events, modules, and other ECMAScript features.
LWC uses API based on the UI-API for better performance, which requires less Apex to write and makes calling server-side less painful.
How to Select Lightning Web Components or Aura?
Lightning web components outperform Aura components in terms of performance and ease of development. However, because LWC does not yet support everything that Aura does, you may need to use Aura when developing Lightning web components.
How do you consider which component to develop with LWC and which with Aura?
Unless you require a feature that isn’t supported, always use Lightning Web Components.
Let’s get started on creating a lightning web component.