Paul Krill
Editor at Large

Salesforce open sources Lightning Web Components

news
May 29, 20192 mins

Lightning Web Components combines W3C standard Web Components and an HTML templating system

lightning storm at night
Credit: Ignacio Sottano

Salesforce has released Lightning Web Components, its JavaScript framework for creating web clients, is now open source, freeing developers to use the framework beyond the company’s own Lightning Platform.

The move could make Lightning Web Components more of a rival to the popular Angular, Vue, and React JavaScript frameworks, which have similar capabilities. A Node.js developer building customer engagement apps on Heroku, for example, could use Lightning Web Components to code a standards-based UI on top of a Node stack.

Introduced in December, Lightning Web Components features a UI framework using standard Web Components that run natively in browsers. Most code is written in standard JavaScript and HTML. As a result, developers on Lightning Platform were no longer constrained to using Salesforce’s Aura programming model, which required learning custom syntax.

Tools can be used with Lightning Web Components such as TypeScript, Webpack, and Babel. Salesforce cited three benefits to the open sourcing of Lightning Web Components:

  • Developers can leverage skills used on Lightning Platform with other platforms and reuse code in multiple contexts.
  • Outside contributions can be made to Lightning Web Components.
  • Developers can explore the code and get a better understanding of it.

Instructions for installing Lightning Web Components can be found on the project website.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author