Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Use Lightning Web Components instead of Aura Components

Lightning web components perform better and are easier to develop than Aura components. However, when you develop Lightning web components, you also may need to use Aura, because LWC doesn’t yet support everything that Aura does.

How do you decide which components to develop as Lightning web components and which to develop as Aura components?

The answer is to always choose Lightning Web Components unless you need a feature that isn’t supported.

For information on gaps between Lightning Web Components and Aura Components, see the Lightning Web Components Developer Guide.

To migrate Aura components to Lightning web components, see the Lightning Web Components Developer Guide.