Lightning Web Components – An Updated Framework for building Salesforce Lightning Apps

Salesforce introduced Lightning Web Components as a newer and faster way of programming applications on the Salesforce Lightning Platform. This is based on the ES6+ standards and thus employs modern JavaScript breakthroughs like web components, custom elements, Shadow DOM, etc. Web Components will coexist along with the current Aura Component framework.

Mike Rosenbaum, EVP of Product, Salesforce said, ”We are constantly working and looking for ways to help our customers build faster, innovate and deliver new products to their customers and employees. With Lightning Web Components, we are giving developers a standards-driven JavaScript model for building enterprise apps on Lightning. Every time we release a new platform capability we see an acceleration of innovation in our 150,000 customer base, and we are excited to see what our community of developers will do with Lightning Web Components.” 

Characteristics:

Lightning Web Components are the Salesforce implementation of that new breed of lightweight frameworks built on web standards. It leverages custom elements, templates, shadow DOM, decorators, modules, and other new language constructs available in ECMAScript 7 and beyond.

  1. Lightning Web Components provides a layer of specialized Salesforce services on top of the core stack, including:
  • Base Lightning Components
  • Lightning Data Service
  • User Interface API
  1. It also combines Web Components programming model with the Salesforce metadata and services thus providing an unmatched level of performance and productivity.

Advantages of Lightning Web components:

Enhanced Performance – Lightning web components will run on the browser without any complex abstractions thus providing better performance to end users.

Ease of Use – Once developed, the admins can deploy Lightning Web Components with clicks to the applications.

Standardized – Lightning Web Components is built on ES6+ which exposed developers with the modern and advanced JavaScript features.

What Happens to existing Lightning Components?

Developers building lightning components using Aura framework, can continue doing so as the Aura components will continue to work as before. The new components can be build using either Aura or Lightning Web component framework.

For future developments, Salesforce recommends using Lightning Web Components.

Availability:

Lightning Web Components will be available for the users by February 2019 in Enterprise, Unlimited, Performance or Developer Edition org.

Conclusion:

Lightning web components give developers more choice to build the applications on the Salesforce Lightning platform staying abreast with the modern offerings of the web development with better performance for the end users.

For more information please refer the official developer guide

Subscribe To The Monthly Newsletter

No Spam. No Rubbish. Just great content from the Salesforce Industry.

You have Successfully Subscribed!

Leave a Reply