Lightning Web Components

Lightning Web Components



1. new programming model for building Lightning components.
2. Salesforce implementation of that new breed of lightweight frameworks built on web standards.
3. leverages custom elements, templates, shadow DOM, decorators, modules, and other new language constructs available in ECMAScript 7 and beyond.



4. provides a layer of specialized Salesforce services on top of the core stack
a. Base Lightning Components, a set of over 70 UI components all built as custom elements.
b. Lightning Data Service which provides declarative access to Salesforce data and metadata, data caching, and data synchronization.
c. User Interface API, the underlying service that makes Base Lightning Components and the Lightning Data Service metadata aware, leading to substantial productivity gains.
5. there are now two ways to build Lightning components:
a. Aura Components, leveraging its own component model, templates, and modular development programming model.
b. Lightning Web Components, built on top of the web standards breakthroughs of the last five years: web components, custom elements, Shadow DOM, etc.
6. Aura components and Lightning web components can coexist on the same page
7. Aura components can include Lightning web components
8. Aura components and Lightning web components share the same base Lightning components. Base Lightning components were already implemented as Lightning web components.
9. Aura components and Lightning web components share the same underlying services (Lightning Data Service, User Interface API, etc.).

https://developer.salesforce.com/blogs/2018/12/introducing-lightning-web-components.html

1 comment:

Powered by Blogger.