Salesforce Dictionary — Free Salesforce GlossarySalesforce Dictionary

LWC

Development🔴 Advanced

Definition

Salesforce's modern web component framework built on standard web technologies (HTML, JavaScript, CSS) for building performant, reusable UI components in Lightning Experience.

Real-World Example

At their company, a senior developer at TerraForm Tech leverages LWC to solve a complex business requirement that cannot be addressed with declarative tools alone. They implement LWC with proper error handling, write 98% test coverage, and document the solution for future maintainers. The code passes security review on the first attempt.

Why LWC Matters

LWC (Lightning Web Components) is Salesforce's modern web component framework for building reusable UI components in Lightning Experience. Unlike the older Aura framework, LWC is built on standard web technologies (Web Components, HTML, modern JavaScript) and runs natively in modern browsers, which makes it faster and aligns it with the broader web development ecosystem. LWC was introduced in 2018 and is now the recommended framework for all new Salesforce UI development.

LWC components can run in many places: on Lightning record pages, in Experience Cloud sites, in Salesforce mobile, in Visualforce pages (with some limitations), and in Lightning Out. They support reactive properties, event-driven communication, and integration with Apex for server-side data access. For developers familiar with modern web frameworks like React or Vue, LWC will feel approachable since it follows similar component-based patterns. Migrating from Aura to LWC is part of the broader Lightning Experience modernization.

How Organizations Use LWC

  • Quantum LabsBuilds all new UI components as LWC, treating Aura as legacy. The standard web technology approach makes onboarding new developers easier.
  • TerraForm TechMigrated their Aura components to LWC during a modernization project, gaining better performance and easier maintenance.
  • CodeBridgeUses LWC for everything from simple form components to complex interactive dashboards, taking advantage of the framework's flexibility.

🧠 Test Your Knowledge

1. What is LWC?

2. How does LWC differ from Aura?

3. Where can LWC components run?

See something that could be improved?

Suggest an Edit