Salesforce Lightning: JavaScript Web Components

2 has announced ways in which JavaScript developers can create so-called Lightning Web Components. Lightning itself is the Salesforce framework that enables applications to be developed for the company’s CRM platform. Web Components include features that the W3C defines in the HTML and DOM specifications, and that allow the creation of reusable widgets or components in Web documents and applications.

So far, Salesforce relied on its own programming model Aura, which, however, has a much lower prevalence compared to Web components. The company brought Aura into the game as Lightning was launched because there was no clear standard for creating large client-side applications for the Web. Meanwhile, however, JavaScript emerged as the clear winner.

The announcement states that the approximately 70 Lightning Web Components give developers the freedom to use the tools they like to use to create components – reusable building blocks for building Lightning applications. Using these Web Components in conjunction with other developer services, such as Lightning Data Service, Lightning Locker, and Base Lightning Components, as well as Salesforce’s low-code tools such as Salesforce DX, Lightning App Builder, and Lightning Flow, allow companies to leverage their developer and admin resources better use.

Salesforce Lightning platform

Lightning Web Components are designed to enable JavaScript developers to leverage familiar classes, modules, and imports in the language they leverage on the Lightning platform. It provides a standards-based component authoring format, compiler, and rendering engine. In addition, Lightning Web Components run more native code than browser abstractions, which seems to result in faster execution and better overall usability. Finally, the Lightning Web Components can apparently be executed side by side with the Aura components.

A detailed introduction of the Lightning Web Components interested in an article on . They will be available in spring 2019 as part of the next major Salesforce platform release.


Share This:

Powered by FrontNet