Introducing Lightning Web Components

Lightning web components are custom HTML elements built using HTML and modern JavaScript. Lightning web components and Aura components can coexist and interoperate on a page. To admins and end users, they both appear as Lightning components.

Lightning Web Components uses core Web Components standards and provides only what’s necessary to perform well in browsers supported by Salesforce. Because it’s built on code that runs natively in browsers, Lightning Web Components is lightweight and delivers exceptional performance. Most of the code you write is standard JavaScript and HTML.

Source by Salesforce

Lightning Web Components are an updated web standards-based framework method for creating lightning components on the Salesforce Platform, Lightning Web Components utilize standard tech like CSS, HTML, and updated JavaScript without requiring a set framework, incorporating the latest innovations in JavaScript, including Shadow Document Object Model(DOM), custom elements, and web components (ECMAScript 7 is specifically the updated JavaScript language used).

What Is Lightning Web Components?

Lightning Web Components is an implementation of the W3C’s Web Components standards. It supports the parts of Web Components that perform well in browsers, and adds only what’s needed to work in all browsers supported by Salesforce.

What Are the Benefits of Lightning Web Components?

  • Modern JavaScript The JavaScript language with ES6+ and web standards, such as HTML templates, custom elements, and web components have evolved significantly in the last few years.
  • Lightning Web Components brings modern JavaScript and web standards to the Lightning Component framework. Developer Productivity and Satisfaction Learn to build Lightning web components more quickly because you’re using standard JavaScript, HTML, and CSS.
  • There are proprietary components and APIs that make it easier to work with Salesforce, but you access and use these proprietary pieces in a standard way.
  • Write less code with Lightning web components and that code is easier to read, maintain, and unit test.
  • Working with web standards speeds up development and debugging time.
  • Use your favorite development tools because Lightning web components use standard JavaScript and play well with your tools of choice.
  • Code Performance Using web standards boosts performance because more features are executed natively by the browser instead of by a JavaScript framework.

Leave a Reply