Lightning web components are custom elements built using HTML and modern JavaScript. It uses standard HTML, modern JavaScript (ES6+), and the best of native Web Components.
Lightning Web Components (LWC) is a lightweight, enterprise-grade open-source web component framework developed by Salesforce and released under the MIT License.
The main features and capabilities of LWC include:
Standards-Based Architecture: Built directly on modern web standards, utilizing standard HTML, modern JavaScript (ES6+), and native Web Components with minimal boilerplate.
Performance-Optimized Runtime: Features a lean, fast runtime optimized for high performance across modern browsers and legacy environments like IE 11.
Quick Setup via LWR: Allows developers to rapidly create and run single-page applications using the lwr CLI tool (npm init lwr).
Portable & Easy to Learn: Enables developers to "learn once, build anywhere," crafting reusable custom elements using familiar web technologies (HTML, JavaScript, and CSS).
Open Source & Community-Driven: Maintained as an open-source framework where developers can shape the roadmap and contribute through GitHub pull requests.