Lightning Web Runtime (LWR) application model for Commerce stores
Key Takeaway
An LWR store supports only Lightning web components. Rebuild Aura components as Lightning web components when you migrate, and brand the store with --dxp styling hooks, not custom classes.
The Salesforce B2B Commerce app runs on the Lightning Web Runtime (LWR) application model. LWR is a framework built for speed that handles page routing and data loading. LWR also provides reusable, web-based components. Starting with Summer '23, all new B2B stores are built on LWR instead of the older Aura platform, so admins build and customize all new stores with the same technology and components.
What the LWR application model does
The Commerce app runs on the LWR application model, an LWR-only application framework designed for speed and sustainability. Out of the box, LWR gives a store these pieces:
- Built-in routing between pages
- Data loads and data binding
- Performance optimizations
- Reusable, web-based components
Custom JavaScript components can call core data services without disrupting standard platform upgrade cycles.