Salesforce Dictionary — Free Salesforce GlossarySalesforce Dictionary

Lightning Web Component Framework vs Aura Component

Modern web standards vs legacy framework

All comparisons

Lightning Web Component Framework

VS

Aura Component

Lightning Web Component Framework

The Lightning Web Component (LWC) Framework is Salesforce's modern UI development framework built on web standards including HTML, JavaScript, and CSS. It leverages native browser capabilities and the Web Components standard to create fast, reusable components that run on the Lightning Platform with strong encapsulation and efficient rendering.

Aura Component

An Aura Component is a reusable UI building block created using Salesforce's legacy Aura framework. Aura components use a proprietary markup language (.cmp files), JavaScript controllers, and helpers to define interactive interfaces. While still supported, Salesforce recommends Lightning Web Components (LWC) for all new development due to better performance and alignment with modern web standards.

Key Differences

DimensionLightning Web Component FrameworkAura Component
TechnologyBuilt on native Web Components standardsBuilt on proprietary Aura framework
PerformanceFaster — leverages native browser APIsSlower — additional framework overhead
SyntaxStandard HTML, JavaScript, CSSCustom markup language and controllers
TestingJest for unit testingLightning Testing Service
DirectionSalesforce's recommended component modelMaintenance mode — no new features

When to use Lightning Web Component Framework

All new Lightning component development — better performance and standards.

When to use Aura Component

Only when maintaining legacy Aura components or using Aura-only features.