Get started with Salesforce lightning web components
Lightning Web Components is a new programming model for building Lightning components in Salesforce. It leverages the web standards, it can co-exist and inter-operate with Aura programming model.
Before getting into Lightning Web Components, Lets know a bit about change in web standards.
2014 web standards
Until recent years, what web standards offered was only limited to
- Rendering engine
- Standard elements
- Core language (ECMAScript 5)
To over come limitations of standard web stack, frameworks came into picture, as they could offer more than standards like Data Services, UI Components, Component Models, Rendering Optimization, Modules, Language Extensions.
2019 web stack
With this update many of the many features which were only available through frameworks now got standardized. The standardization of the core stack is incredibly exciting and opens the door to a new breed of frameworks: frameworks whose major task is no longer to fill in the gaps in the core stack, but to provide a thin layer of specialized services on top of a standard stack that is now suitable for large scale app development.
Coming to Lightning Web Components
Lightning Web Components is the Salesforce implementation of lightweight framework built on web standards. It makes use of custom elements, templates, shadow DOM, decorators, modules, and other new language constructs available in ECMAScript 7.
Lightning Web Components also provides Salesforce services which includes,
- Base Lightning Components
- Lightning Data Service
- User Interface API
One more Important thing, They can co-exist with Aura!!
Isn’t this Important??
- Introducing Lightning Web Components
- Publish–Subscribe Pattern in Lightning Web Components (pubsub)
- How to integrate Salesforce with Zomato using Lightning Web Components
- Salesforce Lightning Web components, Editable List
One Small help: If you enjoyed this blog post, share it with your group!
Do subscribe, for getting latest updates directly in your inbox.