- By David Ramel
- May 31, 2019
Called the Lightning Web Components framework, the new community donation is part of the company's proprietary Lightning Web Components (part of the overall Lightning Platform) offering, which also includes Base Lightning Components (UI components) and Salesforce Bindings (specialized services).
As a separate entity, the Lightning Web Components framework won't have any proprietary dependencies, allowing developers to use it on any platform (such as Heroku, Google or others) using any tools and open languages they choose (such as Webpack, TypeScript, Babel and more).
The framework leverages modern Web standards introduced in the past five years by a variety of standards bodies, including:
"In the past, developers often had to use different frameworks to build different sides of an application," Salesforce said in a May 29 blog post. "For example, you'd use Aura to build the employee-facing side of an application on Salesforce and React, Angular or Vue to build the customer engagement side of the application on Heroku or any other platform. Today, you can use Lightning Web Components to build both sides of the application. The benefits are significant: you only need to learn a single framework and you can share code between apps. And because Lightning Web Components is built on the latest Web standards, you know you are using a cutting-edge framework based on the latest patterns and best practices."
The project is parked on GitHub under an MIT license.
Open sourcing the project provides several different benefits related to the project itself, the open source community and the Web standards effort, Salesforce said.
Interested developers can check out a dev guide.
The new open source framework is the latest example of the company expanding the reach of its Lightning platform, having earlier this year introduced the Lightning Platform Mobile low-code development platform.
David Ramel is an editor and writer for Converge360.