SlideShare a Scribd company logo
Introduction to Lightning Web Component
AGENDA
Introduction to lightning web component
 What is lightning web component?
 Difference between aura component and LWC
 Why do you go for LWC instead of existing aura components?
 Coexistence and interoperability of aura and LWC
What is Lightning Web Component ?
It Is A New Programming Model To Create The Lightning Components. They Are
Custom Html Elements Built Using Html And modern Javascript.
 Better Performance
 Modern Web Standards
 Compatible With Aura Components
 Ease Of Use
Web Stack Transformation
Coexistence and
Interoperability
Aura components and Lightning web components can
coexist on the same page and in the same runtime .
Aura components can include Lightning web
components.
Aura components and Lightning web components
share the same base Lightning components.
Nested composition
You can have both Aura
components and Lighting
web components inside a
parent Aura component,
but Lightning web
components can only
contain other Lightning
web components.
Side-by-side
composition
 The two components can
pass information back and
forth, whether that
information is coming in
through user interaction with
the app page, or events
triggered by actions outside
the app page.
Advantages
What to Choose between
Lightning Web Components and Aura Components?
Always choose Lightning
Web Components unless you
need a feature that isn’t
supported
A Lightning web component
can’t contain an Aura
component. When you
develop a Lightning web
component, its DOM subtree
must be composed entirely of
Lightning web components.
Bundle structure
LWC requires manual creation of a folder to host all
your component files. Component HTML, JS,
Configuration files are mandatory. CSS and SVG are
optional.
Naming Convention
The only noted difference in naming is while you’re
referring component in another component. The new
syntax uses kebab-case, instead of the camelCase
(<c-hellowrold> instead of <c:helloworld>) and the
component must have a closing tag.
Event
In aura we use custom event but in LWC we use
Stand Dom Event
Lightning Locker
Default in LWC but not in aura
Thank You!!

More Related Content

PPTX
Introduction to lightning Web Component
PPTX
Getting Started with Lightning Web Components | LWC | Salesforce
PPTX
Lightning Web Component - LWC
PPTX
Lightning web components
PDF
Lwc presentation
PPTX
Intro to Salesforce Lightning Web Components (LWC)
PPTX
Lightning web components
PPT
Migrate To Lightning Web Components from Aura framework to increase performance
Introduction to lightning Web Component
Getting Started with Lightning Web Components | LWC | Salesforce
Lightning Web Component - LWC
Lightning web components
Lwc presentation
Intro to Salesforce Lightning Web Components (LWC)
Lightning web components
Migrate To Lightning Web Components from Aura framework to increase performance

What's hot (20)

PPTX
Salesforce Lightning Web Components Overview
PPTX
Lightning Web Component in Salesforce
PPTX
Lightning web components - Introduction, component Lifecycle, Events, decorat...
PDF
Live coding with LWC
PDF
Lightning web components - Episode 1 - An Introduction
PPTX
An Introduction to Lightning Web Components
PPTX
Lightning web component
PPTX
Lightning Web Components
PPTX
Introduction to Apex for Developers
PDF
Decluttering your Salesfroce org
PDF
Salesforce Trailhead for Developers
PPT
Mulesoft ppt
PPT
Salesforce complete overview
PDF
Best Practices with Apex in 2022.pdf
PDF
Lightning web components episode 2- work with salesforce data
PPTX
What Is Salesforce? | Salesforce Training - What Does Salesforce Do? | Salesf...
PPTX
OAuth with Salesforce - Demystified
PDF
Introduction to MuleSoft
PPTX
Salesforce CPQ by yuvaraj
PPTX
Salesforce integration best practices columbus meetup
Salesforce Lightning Web Components Overview
Lightning Web Component in Salesforce
Lightning web components - Introduction, component Lifecycle, Events, decorat...
Live coding with LWC
Lightning web components - Episode 1 - An Introduction
An Introduction to Lightning Web Components
Lightning web component
Lightning Web Components
Introduction to Apex for Developers
Decluttering your Salesfroce org
Salesforce Trailhead for Developers
Mulesoft ppt
Salesforce complete overview
Best Practices with Apex in 2022.pdf
Lightning web components episode 2- work with salesforce data
What Is Salesforce? | Salesforce Training - What Does Salesforce Do? | Salesf...
OAuth with Salesforce - Demystified
Introduction to MuleSoft
Salesforce CPQ by yuvaraj
Salesforce integration best practices columbus meetup
Ad

Similar to Introduction to Lightning Web Component (20)

PDF
Introduction to Lightning Web Components
PDF
Lightning Web Component Structure Benefit
PPTX
Implementing Vanilla Web Components
PPTX
Webpack/Parcel: What’s Happening Behind the React App?
PPTX
Introduction to lightning web component
PPTX
Lightning Web Components by Abdul Gafoor
PPTX
Live Session1 lightning web component
PPTX
Lightning Web Components
PDF
Full Stack React Workshop [CSSC x GDSC]
PDF
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
PDF
Solving Common Web Component Problems - Simon MacDonald
PDF
Reactjs Basics
PDF
Web components are the future of the web - Take advantage of new web technolo...
PPTX
Web components
PPTX
Angular elements - embed your angular components EVERYWHERE
PPT
Developing Java Web Applications
PDF
From AUI to Atlaskit - Streamlining Development for Server & Cloud Apps
PDF
Polymer Web Framework - Swecha Boot Camp
PPTX
Shipping logs to splunk from a container in aws howto
PDF
Wa html5-pdf
Introduction to Lightning Web Components
Lightning Web Component Structure Benefit
Implementing Vanilla Web Components
Webpack/Parcel: What’s Happening Behind the React App?
Introduction to lightning web component
Lightning Web Components by Abdul Gafoor
Live Session1 lightning web component
Lightning Web Components
Full Stack React Workshop [CSSC x GDSC]
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
Solving Common Web Component Problems - Simon MacDonald
Reactjs Basics
Web components are the future of the web - Take advantage of new web technolo...
Web components
Angular elements - embed your angular components EVERYWHERE
Developing Java Web Applications
From AUI to Atlaskit - Streamlining Development for Server & Cloud Apps
Polymer Web Framework - Swecha Boot Camp
Shipping logs to splunk from a container in aws howto
Wa html5-pdf
Ad

More from SmritiSharan1 (7)

PPTX
Styling and Data Binding in Lightning Web Component
PPTX
Conditional Rendering and rendering list in LWC
PPTX
Live session 2 lightning web component
PPTX
Salesforce DX for Scratch Orgs
PPTX
Chapter 3 : Setup SalesforceDX (SFDX) for Non Scratch Orgs
PPTX
Session 1: INTRODUCTION TO SALESFORCE
PPTX
Introduction to lightning lifecycle
Styling and Data Binding in Lightning Web Component
Conditional Rendering and rendering list in LWC
Live session 2 lightning web component
Salesforce DX for Scratch Orgs
Chapter 3 : Setup SalesforceDX (SFDX) for Non Scratch Orgs
Session 1: INTRODUCTION TO SALESFORCE
Introduction to lightning lifecycle

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
PDF
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
PPTX
Cardiovascular Pharmacology for pharmacy students.pptx
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
The Final Stretch: How to Release a Game and Not Die in the Process.
PDF
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
PPTX
NOI Hackathon - Summer Edition - GreenThumber.pptx
PPTX
Introduction and Scope of Bichemistry.pptx
PPTX
Onica Farming 24rsclub profitable farm business
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Open Quiz Monsoon Mind Game Final Set.pptx
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Abdominal Access Techniques with Prof. Dr. R K Mishra
Renaissance Architecture: A Journey from Faith to Humanism
Open Quiz Monsoon Mind Game Prelims.pptx
Mga Unang Hakbang Tungo Sa Tao by Joe Vibar Nero.pdf
Pre independence Education in Inndia.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
UNDER FIVE CLINICS OR WELL BABY CLINICS.pptx
Cardiovascular Pharmacology for pharmacy students.pptx
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
The Final Stretch: How to Release a Game and Not Die in the Process.
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
NOI Hackathon - Summer Edition - GreenThumber.pptx
Introduction and Scope of Bichemistry.pptx
Onica Farming 24rsclub profitable farm business

Introduction to Lightning Web Component

  • 2. AGENDA Introduction to lightning web component  What is lightning web component?  Difference between aura component and LWC  Why do you go for LWC instead of existing aura components?  Coexistence and interoperability of aura and LWC
  • 3. What is Lightning Web Component ? It Is A New Programming Model To Create The Lightning Components. They Are Custom Html Elements Built Using Html And modern Javascript.  Better Performance  Modern Web Standards  Compatible With Aura Components  Ease Of Use
  • 5. Coexistence and Interoperability Aura components and Lightning web components can coexist on the same page and in the same runtime . Aura components can include Lightning web components. Aura components and Lightning web components share the same base Lightning components.
  • 6. Nested composition You can have both Aura components and Lighting web components inside a parent Aura component, but Lightning web components can only contain other Lightning web components.
  • 7. Side-by-side composition  The two components can pass information back and forth, whether that information is coming in through user interaction with the app page, or events triggered by actions outside the app page.
  • 9. What to Choose between Lightning Web Components and Aura Components? Always choose Lightning Web Components unless you need a feature that isn’t supported A Lightning web component can’t contain an Aura component. When you develop a Lightning web component, its DOM subtree must be composed entirely of Lightning web components.
  • 10. Bundle structure LWC requires manual creation of a folder to host all your component files. Component HTML, JS, Configuration files are mandatory. CSS and SVG are optional. Naming Convention The only noted difference in naming is while you’re referring component in another component. The new syntax uses kebab-case, instead of the camelCase (<c-hellowrold> instead of <c:helloworld>) and the component must have a closing tag. Event In aura we use custom event but in LWC we use Stand Dom Event Lightning Locker Default in LWC but not in aura