SlideShare a Scribd company logo
Farmington Hills Salesforce Developer User Group
Lightning Web Components
#SalesforceApexHours #FarmingtonHillsSFDCDug
Speaker :- Jitendra Zaa & Amit Chaudhary
Date :- Saturday, Jan 11, 2018 10:00 AM EST
Venue/Link :- Online
Who am I ?
Amit Chaudhary
• Active on Salesforce Developer Community
• Blogging at http://amitsalesforce.blogspot.in/
• Co-Organizer of :- FarmingtonHillsSFDCDug
Speaker
Jitendra Zaa
Sr. Technical Architect
Bluewolf
23 Salesforce Certifications
Author - Apex Design Pattern
Salesforce MVP
10+ years in Salesforce
Blog - https://JitendraZaa.com
Follow - @JitendraZaa
Agenda
▶ Why Lightning Web Component (LWC)
▶ Part 1 - Vanilla HTML5 Web Components
▶ Benefits of Web Component
▶ Pillars of Web Component
▶ Demo of Custom Element and Templating
▶ Part 2 - Lightning Web Component
▶ Hello World
▶ Lifecycle methods
▶ Call Apex Class
▶ Lightning Data Services
▶ Communication between Lightning Component and LWC
Why Lightning Web Components
Why LWC ?
▶ 4 years back, in 2014, Lightning Components Launched
▶ At that time Web Standards had limited functionality and various framework came to fulfil the gaps like
ReactJs for virtual DOM, commonJS etc
▶ Aura framework was part of that initiative where they pushed web standards to build enterprise
applications
▶ Aura framework, Angular, React these all framework became languages
▶ Fast Forward few years later
▶ Web standard has rich set of functionalities, supported by Native Browsers
▶ Templating, Shadow DOM, Custom Element to name few
▶ More Standard and less framework
Four Pillars of HTML
Web Components
1.Import
2.Template
3.Custom Element
4.Shadow DOM
Demos
Life Cycle Methods
Method Name Description
constructor When Component Created
connectedCallback When Component inserted in DOM
disconnectedCallback When Component removed from DOM
render Called after ConnectedCallBack. For Complex rendering
Logic
renderedCallback() After render
errorCallback If any error in component lifecycle methods
Handle Event when Components not in Same DOM
▶ Use Pub Sub Model
▶ Source code here
Resources
▶ Salesforce Documentation
▶ Trailhead
▶ Amit Blogspot
▶ SFDX Commands - Jitendra’s Blog
▶ LWC Code Recipes
Q&A
Thank You

More Related Content

PPTX
Lightning Web Component in Salesforce
PPTX
Lightning web components
PPTX
Intro to Salesforce Lightning Web Components (LWC)
PPTX
Lightning web components - Introduction, component Lifecycle, Events, decorat...
PPTX
Introduction to lightning Web Component
PDF
Lwc presentation
PPTX
Introduction to Lightning Web Component
PPTX
Getting Started with Lightning Web Components | LWC | Salesforce
Lightning Web Component in Salesforce
Lightning web components
Intro to Salesforce Lightning Web Components (LWC)
Lightning web components - Introduction, component Lifecycle, Events, decorat...
Introduction to lightning Web Component
Lwc presentation
Introduction to Lightning Web Component
Getting Started with Lightning Web Components | LWC | Salesforce

What's hot (20)

PDF
Lightning web components - Episode 1 - An Introduction
PPTX
Lightning Web Components
PPTX
Lightning Web Component - LWC
PDF
Live coding with LWC
PDF
Introduction to Apex Triggers
PPTX
Introduction to lightning components
PDF
Apex Enterprise Patterns: Building Strong Foundations
PDF
Aura Framework Overview
PDF
Introduction to Salesforce | Salesforce Tutorial for Beginners | Salesforce T...
PDF
Lightning web components episode 2- work with salesforce data
PPTX
Salesforce Integration Patterns
PDF
React js
PPTX
Salesforce Integration Pattern Overview
PDF
Shadow DOM, CSS and Styling Hooks in LWC what you need to know
PDF
Microservices with Java, Spring Boot and Spring Cloud
PPTX
Apex Trigger in Salesforce
PPTX
Salesforce integration best practices columbus meetup
PDF
Best Practices with Apex in 2022.pdf
PPTX
Lightning Components Introduction
PPTX
Deep dive into Salesforce Connected App
Lightning web components - Episode 1 - An Introduction
Lightning Web Components
Lightning Web Component - LWC
Live coding with LWC
Introduction to Apex Triggers
Introduction to lightning components
Apex Enterprise Patterns: Building Strong Foundations
Aura Framework Overview
Introduction to Salesforce | Salesforce Tutorial for Beginners | Salesforce T...
Lightning web components episode 2- work with salesforce data
Salesforce Integration Patterns
React js
Salesforce Integration Pattern Overview
Shadow DOM, CSS and Styling Hooks in LWC what you need to know
Microservices with Java, Spring Boot and Spring Cloud
Apex Trigger in Salesforce
Salesforce integration best practices columbus meetup
Best Practices with Apex in 2022.pdf
Lightning Components Introduction
Deep dive into Salesforce Connected App
Ad

Similar to Lightning web components (20)

PPTX
Lightning web components
PPTX
Episode 16 - Introduction to LWC
PPTX
Introduction to lightning web component
PDF
Lightning Web Components - A new era, René Winkelmeyer
PPTX
RVA intro to LWC- Salesforce Dev Week
PPTX
Implementing Vanilla Web Components
PDF
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
PPTX
An Introduction to Lightning Web Components
PPTX
Intro to Lightning Web Components
PPTX
Lightning Web Components by Abdul Gafoor
PDF
Intro to lwc - dev week slides
PDF
Lightning Web Components- Ep 0 - Introduction
PPTX
Lightning web components
PDF
Introduction to Lightning Web Components
PPTX
Enterprise-grade UI with open source Lightning Web Components
PDF
Lightning Web Component Structure Benefit
PDF
LWC Episode 3- Component Communication and Aura Interoperability
PDF
Introducing Lightning Web Components
PPTX
Salesforce Lightning Web Components Overview
PPT
Migrate To Lightning Web Components from Aura framework to increase performance
Lightning web components
Episode 16 - Introduction to LWC
Introduction to lightning web component
Lightning Web Components - A new era, René Winkelmeyer
RVA intro to LWC- Salesforce Dev Week
Implementing Vanilla Web Components
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
An Introduction to Lightning Web Components
Intro to Lightning Web Components
Lightning Web Components by Abdul Gafoor
Intro to lwc - dev week slides
Lightning Web Components- Ep 0 - Introduction
Lightning web components
Introduction to Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
Lightning Web Component Structure Benefit
LWC Episode 3- Component Communication and Aura Interoperability
Introducing Lightning Web Components
Salesforce Lightning Web Components Overview
Migrate To Lightning Web Components from Aura framework to increase performance
Ad

More from Amit Chaudhary (20)

PPTX
Platform cache
PPTX
Apex code Benchmarking
PPTX
Empower admins with the power of salesforce dx, git and cicd pipeline
PPTX
Marketing cloud development
PPTX
Salesforce Apex Hours : Node red for salesforce
PPTX
Modular application development using unlocked packages
PPTX
Einstein Next Best Action (NBA)
PPTX
Pardot basics
PPTX
Lightning Locker Services
PDF
Salesforce apex hours heroku connect - deep dive
PPTX
Salesforce apex hours :- azure active directory seamless single sign-on with...
PPTX
Salesforce DX for Non-Scratch Org
PPTX
Einstein Analytics Part 2
PPTX
Einstein Analytics
PPTX
Demystifying the salesforce reports api
PPTX
Salesforce apex hours Einstein platform services
PPTX
Salesforce Apex Hours : How Lightning Platform Query Optimizer works for LDV
PPTX
Einstein bots
PPTX
Integrating with salesforce using platform events
PPTX
Einstein analytics basics
Platform cache
Apex code Benchmarking
Empower admins with the power of salesforce dx, git and cicd pipeline
Marketing cloud development
Salesforce Apex Hours : Node red for salesforce
Modular application development using unlocked packages
Einstein Next Best Action (NBA)
Pardot basics
Lightning Locker Services
Salesforce apex hours heroku connect - deep dive
Salesforce apex hours :- azure active directory seamless single sign-on with...
Salesforce DX for Non-Scratch Org
Einstein Analytics Part 2
Einstein Analytics
Demystifying the salesforce reports api
Salesforce apex hours Einstein platform services
Salesforce Apex Hours : How Lightning Platform Query Optimizer works for LDV
Einstein bots
Integrating with salesforce using platform events
Einstein analytics basics

Recently uploaded (20)

PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
master seminar digital applications in india
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
2.FourierTransform-ShortQuestionswithAnswers.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
Microbial disease of the cardiovascular and lymphatic systems
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
RMMM.pdf make it easy to upload and study
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Insiders guide to clinical Medicine.pdf
PDF
Business Ethics Teaching Materials for college
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
VCE English Exam - Section C Student Revision Booklet
Abdominal Access Techniques with Prof. Dr. R K Mishra
Week 4 Term 3 Study Techniques revisited.pptx
Microbial diseases, their pathogenesis and prophylaxis
master seminar digital applications in india
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
2.FourierTransform-ShortQuestionswithAnswers.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 Đ...
Microbial disease of the cardiovascular and lymphatic systems
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
RMMM.pdf make it easy to upload and study
Final Presentation General Medicine 03-08-2024.pptx
Anesthesia in Laparoscopic Surgery in India
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
O7-L3 Supply Chain Operations - ICLT Program
Insiders guide to clinical Medicine.pdf
Business Ethics Teaching Materials for college
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Complications of Minimal Access Surgery at WLH
Pharmacology of Heart Failure /Pharmacotherapy of CHF

Lightning web components

  • 1. Farmington Hills Salesforce Developer User Group Lightning Web Components #SalesforceApexHours #FarmingtonHillsSFDCDug Speaker :- Jitendra Zaa & Amit Chaudhary Date :- Saturday, Jan 11, 2018 10:00 AM EST Venue/Link :- Online
  • 2. Who am I ? Amit Chaudhary • Active on Salesforce Developer Community • Blogging at http://amitsalesforce.blogspot.in/ • Co-Organizer of :- FarmingtonHillsSFDCDug
  • 3. Speaker Jitendra Zaa Sr. Technical Architect Bluewolf 23 Salesforce Certifications Author - Apex Design Pattern Salesforce MVP 10+ years in Salesforce Blog - https://JitendraZaa.com Follow - @JitendraZaa
  • 4. Agenda ▶ Why Lightning Web Component (LWC) ▶ Part 1 - Vanilla HTML5 Web Components ▶ Benefits of Web Component ▶ Pillars of Web Component ▶ Demo of Custom Element and Templating ▶ Part 2 - Lightning Web Component ▶ Hello World ▶ Lifecycle methods ▶ Call Apex Class ▶ Lightning Data Services ▶ Communication between Lightning Component and LWC
  • 5. Why Lightning Web Components
  • 6. Why LWC ? ▶ 4 years back, in 2014, Lightning Components Launched ▶ At that time Web Standards had limited functionality and various framework came to fulfil the gaps like ReactJs for virtual DOM, commonJS etc ▶ Aura framework was part of that initiative where they pushed web standards to build enterprise applications ▶ Aura framework, Angular, React these all framework became languages ▶ Fast Forward few years later ▶ Web standard has rich set of functionalities, supported by Native Browsers ▶ Templating, Shadow DOM, Custom Element to name few ▶ More Standard and less framework
  • 7. Four Pillars of HTML Web Components 1.Import 2.Template 3.Custom Element 4.Shadow DOM
  • 9. Life Cycle Methods Method Name Description constructor When Component Created connectedCallback When Component inserted in DOM disconnectedCallback When Component removed from DOM render Called after ConnectedCallBack. For Complex rendering Logic renderedCallback() After render errorCallback If any error in component lifecycle methods
  • 10. Handle Event when Components not in Same DOM ▶ Use Pub Sub Model ▶ Source code here
  • 11. Resources ▶ Salesforce Documentation ▶ Trailhead ▶ Amit Blogspot ▶ SFDX Commands - Jitendra’s Blog ▶ LWC Code Recipes
  • 12. Q&A