Differences Between LWC Open Source and LWC on the Salesforce Platform
- The code in the open-source repository is ahead of the code available on Lightning Platform. Most features released in the open-source repository are eventually released on Lightning Platform.
- Lightning Web Components on the Salesforce platform is a managed version of Lightning Web Components: Open Source.
- When working off the Salesforce platform, you can download LWC, configure it your way, deploy your application on any hosting environment, and chose when to upgrade.
- When working on the Salesforce platform, Salesforce manages the configuration, deployment, and upgrade of LWC for all customers.
- LWC OSS and LWC on the platform have different release schedules.
- The LWC engineering team usually releases LWC OSS weekly, whereas the Salesforce platform is released three times a year.
- Because of this difference, the version of LWC on the Salesforce platform is 3–6 months behind the open-source version of LWC.
- The open-source LWC engine is identical to the LWC engine on the Salesforce platform.
- The difference is how the engine is configured at the compiler level and at run time.
Leave a comment