Paul Krill
Editor at Large

Salesforce releases JavaScript-friendly Lightning to bypass Aura’s limits

news
Dec 14, 20182 mins

Lightning Web Components is a programming model to ease JavaScript coding on the Lightning Platform

React - an open-source JavaScript library for building user interfaces
Credit: Thinkstock

With the introduction of Lightning Web Components, Salesforce.com is extending its cloud application development platform to better support JavaScript developers.

Now in a beta release, Lightning Web Components is a programming model to ease JavaScript coding on the Lightning Platform, which is used to build business capabilities such as credit checks and other reusable processes. The production version is expected in February 2019.

Lightning Web Components supports the ECMAScript 6 (2015) specification, along with some ECMASCript 2016 capabilities, with developers able to use JavaScript features such as classes, modules, and imports. More code is executed on the browser, for faster component performance.

Lightning frees developers building business apps to run on the Salesforce cloud from having to use the company’s Aura modular programming model. With Aura, developers use JavaScript, but they also have to know a lot of custom syntax.  By contrast, Lightning Web Components allows use of standard JavaScript along with a small amount of custom syntax to access features of the Salesforce platform.

Although Salesforce plans to keep developing Aura, it recommends components now be built with Lightning Web Components technology, and will limit some Salesforce innovations to Lightning. Lightning Web Components can run alongside Aura components.

Lightning Web Components can be used with tools Salesforce DX and the low-code Lightning App Builder. Developers using Lightning Web Components also can access services such as:

  • Lightning Data Service, to access Salesforce data and metadata in JavaScript.
  • Lightning Locker, for enterprise-level security for JavaScript code.
  • Base Lightning Components, providing building blocks for development.
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