What are the key differences between the LWR and Aura frameworks for Experience Cloud?
Suggested answer
LWR (Lightning Web Runtime): Server-side rendering (SSR) for fast initial page loads and SEO indexability. Uses modern JavaScript ES modules without a heavy client-side framework. Limited to LWC components; Aura components are not supported. Component library is smaller but growing. Supports static site generation for pure marketing pages. Best for customer-facing, SEO-critical, high-performance sites. Aura: Client-side rendering with a richer component library including legacy components. Supports both Aura and LWC components. Heavier initial payload but more feature-complete out of the box. Supports all Salesforce data UI components (record pages, related lists) natively. Best for feature-dense internal portals or communities requiring full Salesforce functionality. Salesforce's long-term direction is LWR; Aura sites remain supported but new template development focuses on LWR.
Practice content for interview preparation; not an official vendor answer. Verify details against current product documentation.
Community comments (0)
No comments yet.
Sign in or create a free account to add a comment. Comments are moderated before they appear.