How LWS Works
Determine if LWS Affects Your Org
When to Enable LWS
Enable LWS in an Org
Enable and Disable LWS in Scratch Orgs
Workflow to Test Your Components with LWS
Considerations Before Using LWS-Only Features
Experience Builder Sites and LWS
Avoid Mutating Objects
Avoid Using Map Objects
Avoid Custom Properties on Standard JavaScript Objects
Specify a MIME Type for Blob Objects
Use Blob Objects for Download Links
Script Tags Transformed to Fetch Calls
Access to iframe Content in LWS
URL Protocol Schemes Allowed
Aura Endpoints Disallowed by LWS
Analytics Libraries Blocked by LWS
Salesforce Global Variables Blocked by LWS
Third-Party Library Considerations for LWS
Local Storage Limitations
Objects Passed Between Components Are Proxied
Understand How LWS Architecture Affects Component Performance
LWS Limitations
JavaScript Strict Mode Enforcement