SlideShare a Scribd company logo
1 of 18
Lightning Web Components
Cairo Salesforce Developers Meetup
February 15th 2020
What to expect
- Evolution of Salesforce UI and UI components.
- LWC vs Aura.
- Spring 20 LWC enhancements.
- Aura Events
- Lightning Messaging Service
Salesforce UI Evolution
Web Standards Evolution
Enhanced productivity
Use the modern language of the web: ES6+, Custom
Elements, and Shadow DOM
Built for performance
More code executed by the browser instead of JavaScript
abstractions for a blazing fast experience
Compatible and easy to use
Runs side-by-side with existing Lightning components
and can be composed with clicks or code
Introducing Lightning Web Components
Generally
Available
Spring ‘19
New programming model built on modern web standards
LWC and Aura compatibility
Aura Component
Lightning Web
Component
Lightning Web
Component
Aura
Component
Lightning Experience Component Model
Lightning Web Components - Anatomie
consists of 5+ (2/3 required *) files
Standard CSS Syntax, applies automatically to this component
ES6 module, everything declared in module is local & scoped to the
module
Custom Icon (Lightning App & Community Builder)
Root is <template>, Standard HTML
Configuration File, specifies
● APIVersion
● Description,
● General Availability in Tools
● Label
● Targets of possible Appearance and the appropriate Config
*
*
*
+
+
for ! srv cmp
Development Tools
Salesforce CLIDeveloper Console
Salesforce Extensions for VS Code
App Builder
Process Builder
No Code Builders Pro Code Tools
Flow Builder
Demo
Build the First LWC
Decorators
Decorator Description Accessibility Rerender
- Private No
@track o track a private property’s value
and rerender a component when it
changes
private Yes
@api expose a public property that
defines the API for a component.
public Yes
@wire To read Salesforce data use a
reactive wire service.
private Yes
New @Track behavior in Spring 20
@Track
- All fields in a Lightning web component class are reactive.
- When a field contains an object or an array, there’s a limit to the depth of
changes that are tracked. To tell the framework to observe changes to the
properties of an object or to the elements of an array, decorate the field
with @track.
To know more, Check Spring 20 release notes:
https://releasenotes.docs.salesforce.com/en-us/spring20/release-
notes/rn_lwc_track.htm
Aura Component Events
Component A
Component B Component C
Component D
Application
Events
Comp
Events
For more information check:
https://developer.salesforce.com/blogs/2019/10/lightning-message-service-
developer-preview.html
Lightning Message Service
Visualforce LWC Aura
learn more with our trailmix
• https://sforce.co/lwc
• https://developer.salesforce.com/docs/comp
onent-library/documentation/lwc
• https://trailhead.salesforce.com/en/content/le
arn/trails/learn-to-work-with-javascript
Send an email to ahmedkishk@gmail.com
The fastest correct answer win 50% off certificate voucher
Challenge
1. Universal Containers has 2 employees (Sales Rep and Sales Manager). It is required that only
Sales Manager can see and edit Account Forecast Field. What a Salesforce Admin should
configure to achieve this:
A. 1 Page Layout and 1 Record Type
B. 2 Page Layouts and 1 Record Type
C. 1 Page Layout and 2 Record Types
D. 2 page layouts and 2 record types
2. How many DML operations can be executed in a transaction before reaching Governor limits:
• A. 50 B. 100 C. 150 D. 200
3. Lightning Web Component can exists in Aura Component:
A. True B. False
Challenge
Thank You!
#CairoDreamin

More Related Content

What's hot

Flex presentation1
Flex presentation1Flex presentation1
Flex presentation1Nguyen Tran
 
Integrate facebook using mule esb
Integrate facebook using mule esbIntegrate facebook using mule esb
Integrate facebook using mule esbSanjeet Pandey
 
Web Development using ASP.NET - Paul Villaruel
Web Development using ASP.NET - Paul VillaruelWeb Development using ASP.NET - Paul Villaruel
Web Development using ASP.NET - Paul Villaruelpaulvillaruel
 
Live session 2 lightning web component
Live session 2 lightning web componentLive session 2 lightning web component
Live session 2 lightning web componentSmritiSharan1
 
Integration of linked in using mule esb
Integration of linked in using mule esbIntegration of linked in using mule esb
Integration of linked in using mule esbSanjeet Pandey
 
Software components design for poc and mvp, keep it simple but be ready to sc...
Software components design for poc and mvp, keep it simple but be ready to sc...Software components design for poc and mvp, keep it simple but be ready to sc...
Software components design for poc and mvp, keep it simple but be ready to sc...Roman Taluyev
 
Anypoint Platform Deployment Strategies
Anypoint Platform Deployment StrategiesAnypoint Platform Deployment Strategies
Anypoint Platform Deployment StrategiesGovind Mulinti
 
Quality sdk for your apis in minutes!
Quality sdk for your apis in minutes!Quality sdk for your apis in minutes!
Quality sdk for your apis in minutes!Son Nguyen
 
Introduction to silverlight control 4
Introduction to silverlight control 4Introduction to silverlight control 4
Introduction to silverlight control 4msarangam
 
synebo talk #1 Salesforce lightning
synebo talk #1 Salesforce lightningsynebo talk #1 Salesforce lightning
synebo talk #1 Salesforce lightningAnna Kryvulya
 
WCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabric
WCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabricWCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabric
WCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabricRobert MacLean
 
1st karachi salesforce platform dug meetup
1st karachi salesforce platform dug meetup1st karachi salesforce platform dug meetup
1st karachi salesforce platform dug meetupMuhammad Salman Zafar
 

What's hot (20)

Flex presentation1
Flex presentation1Flex presentation1
Flex presentation1
 
An Introduction to Lightning Web Components
An Introduction to Lightning Web ComponentsAn Introduction to Lightning Web Components
An Introduction to Lightning Web Components
 
Integrate facebook using mule esb
Integrate facebook using mule esbIntegrate facebook using mule esb
Integrate facebook using mule esb
 
Web Development using ASP.NET - Paul Villaruel
Web Development using ASP.NET - Paul VillaruelWeb Development using ASP.NET - Paul Villaruel
Web Development using ASP.NET - Paul Villaruel
 
Live session 2 lightning web component
Live session 2 lightning web componentLive session 2 lightning web component
Live session 2 lightning web component
 
Integration of linked in using mule esb
Integration of linked in using mule esbIntegration of linked in using mule esb
Integration of linked in using mule esb
 
Software components design for poc and mvp, keep it simple but be ready to sc...
Software components design for poc and mvp, keep it simple but be ready to sc...Software components design for poc and mvp, keep it simple but be ready to sc...
Software components design for poc and mvp, keep it simple but be ready to sc...
 
Anypoint Platform Deployment Strategies
Anypoint Platform Deployment StrategiesAnypoint Platform Deployment Strategies
Anypoint Platform Deployment Strategies
 
Infonis CBIM
Infonis CBIMInfonis CBIM
Infonis CBIM
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
 
Microsoft Tech Ed 2006 #2
Microsoft Tech Ed 2006 #2Microsoft Tech Ed 2006 #2
Microsoft Tech Ed 2006 #2
 
Quality sdk for your apis in minutes!
Quality sdk for your apis in minutes!Quality sdk for your apis in minutes!
Quality sdk for your apis in minutes!
 
Multiplatform
MultiplatformMultiplatform
Multiplatform
 
Introduction to silverlight control 4
Introduction to silverlight control 4Introduction to silverlight control 4
Introduction to silverlight control 4
 
Rupie asp.net
Rupie asp.netRupie asp.net
Rupie asp.net
 
synebo talk #1 Salesforce lightning
synebo talk #1 Salesforce lightningsynebo talk #1 Salesforce lightning
synebo talk #1 Salesforce lightning
 
Evolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to Avoid
Evolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to AvoidEvolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to Avoid
Evolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to Avoid
 
Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1Microsoft Tech Ed 2006 #1
Microsoft Tech Ed 2006 #1
 
WCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabric
WCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabricWCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabric
WCF made easy with Microsoft .NET Framework 4 and Windows Server AppFabric
 
1st karachi salesforce platform dug meetup
1st karachi salesforce platform dug meetup1st karachi salesforce platform dug meetup
1st karachi salesforce platform dug meetup
 

Similar to Lightning Web Components

Introduction to lightning web component
Introduction to lightning web component Introduction to lightning web component
Introduction to lightning web component Sudipta Deb ☁
 
Migrate To Lightning Web Components from Aura framework to increase performance
Migrate To Lightning Web Components from Aura framework to increase performance Migrate To Lightning Web Components from Aura framework to increase performance
Migrate To Lightning Web Components from Aura framework to increase performance Bohdan Dovhań
 
Lightning components ver1.0
Lightning components ver1.0Lightning components ver1.0
Lightning components ver1.0Akhil Anil ☁
 
6 reasons developers should consider salesforce lightning web components
6 reasons developers should consider salesforce lightning web components6 reasons developers should consider salesforce lightning web components
6 reasons developers should consider salesforce lightning web componentsCloud Analogy
 
Implementing Vanilla Web Components
Implementing Vanilla Web ComponentsImplementing Vanilla Web Components
Implementing Vanilla Web Componentssonumanoj
 
Leveraging SharePoint as a development platform for the modern intranet
Leveraging SharePoint as a development platform for the modern intranetLeveraging SharePoint as a development platform for the modern intranet
Leveraging SharePoint as a development platform for the modern intranetMicrosoft Tech Community
 
What is Difference Between LC and LWC?
What is Difference Between LC and LWC?What is Difference Between LC and LWC?
What is Difference Between LC and LWC?Ravendra Singh
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hourConvert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hourBrian Culver
 
Live Session1 lightning web component
Live Session1 lightning web componentLive Session1 lightning web component
Live Session1 lightning web componentSmritiSharan1
 
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components Ben Edwards
 
Lightning Web Component Structure Benefit
Lightning Web Component Structure BenefitLightning Web Component Structure Benefit
Lightning Web Component Structure Benefitqrsolutionsindia
 
Components, tools and services useful for the lightning developers
Components, tools and services useful for the lightning developers Components, tools and services useful for the lightning developers
Components, tools and services useful for the lightning developers Cloud Analogy
 
Building Rich Applications with Appcelerator
Building Rich Applications with AppceleratorBuilding Rich Applications with Appcelerator
Building Rich Applications with AppceleratorMatt Raible
 
Best of barcelona symposium experience
Best of barcelona symposium experienceBest of barcelona symposium experience
Best of barcelona symposium experienceThe Reference
 
Lightning Web Components
Lightning Web ComponentsLightning Web Components
Lightning Web ComponentsAbdulGafoor100
 
Lightning Web Components by Abdul Gafoor
Lightning Web Components by Abdul GafoorLightning Web Components by Abdul Gafoor
Lightning Web Components by Abdul GafoorJayesh Tejwani
 
01 web 2.0 - more than a pretty face for soa
01   web 2.0 - more than a pretty face for soa01   web 2.0 - more than a pretty face for soa
01 web 2.0 - more than a pretty face for soaTechnology Transfer
 
Sakai 2.0 Architecture Update 2005-06-09
Sakai 2.0 Architecture Update 2005-06-09Sakai 2.0 Architecture Update 2005-06-09
Sakai 2.0 Architecture Update 2005-06-09Charles Severance
 

Similar to Lightning Web Components (20)

Introduction to lightning web component
Introduction to lightning web component Introduction to lightning web component
Introduction to lightning web component
 
Migrate To Lightning Web Components from Aura framework to increase performance
Migrate To Lightning Web Components from Aura framework to increase performance Migrate To Lightning Web Components from Aura framework to increase performance
Migrate To Lightning Web Components from Aura framework to increase performance
 
Lightning components ver1.0
Lightning components ver1.0Lightning components ver1.0
Lightning components ver1.0
 
Lightning Web Component - LWC
Lightning Web Component - LWCLightning Web Component - LWC
Lightning Web Component - LWC
 
Introduction to Lightning Web Components
Introduction to Lightning Web ComponentsIntroduction to Lightning Web Components
Introduction to Lightning Web Components
 
6 reasons developers should consider salesforce lightning web components
6 reasons developers should consider salesforce lightning web components6 reasons developers should consider salesforce lightning web components
6 reasons developers should consider salesforce lightning web components
 
Implementing Vanilla Web Components
Implementing Vanilla Web ComponentsImplementing Vanilla Web Components
Implementing Vanilla Web Components
 
Leveraging SharePoint as a development platform for the modern intranet
Leveraging SharePoint as a development platform for the modern intranetLeveraging SharePoint as a development platform for the modern intranet
Leveraging SharePoint as a development platform for the modern intranet
 
What is Difference Between LC and LWC?
What is Difference Between LC and LWC?What is Difference Between LC and LWC?
What is Difference Between LC and LWC?
 
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hourConvert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
Convert your Full Trust Solutions to the SharePoint Framework (SPFx) in 1 hour
 
Live Session1 lightning web component
Live Session1 lightning web componentLive Session1 lightning web component
Live Session1 lightning web component
 
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
Salesforce Auckland Developer Meetup - May 2018 - Lightning Web Components
 
Lightning Web Component Structure Benefit
Lightning Web Component Structure BenefitLightning Web Component Structure Benefit
Lightning Web Component Structure Benefit
 
Components, tools and services useful for the lightning developers
Components, tools and services useful for the lightning developers Components, tools and services useful for the lightning developers
Components, tools and services useful for the lightning developers
 
Building Rich Applications with Appcelerator
Building Rich Applications with AppceleratorBuilding Rich Applications with Appcelerator
Building Rich Applications with Appcelerator
 
Best of barcelona symposium experience
Best of barcelona symposium experienceBest of barcelona symposium experience
Best of barcelona symposium experience
 
Lightning Web Components
Lightning Web ComponentsLightning Web Components
Lightning Web Components
 
Lightning Web Components by Abdul Gafoor
Lightning Web Components by Abdul GafoorLightning Web Components by Abdul Gafoor
Lightning Web Components by Abdul Gafoor
 
01 web 2.0 - more than a pretty face for soa
01   web 2.0 - more than a pretty face for soa01   web 2.0 - more than a pretty face for soa
01 web 2.0 - more than a pretty face for soa
 
Sakai 2.0 Architecture Update 2005-06-09
Sakai 2.0 Architecture Update 2005-06-09Sakai 2.0 Architecture Update 2005-06-09
Sakai 2.0 Architecture Update 2005-06-09
 

Recently uploaded

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 

Recently uploaded (20)

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 

Lightning Web Components

  • 1. Lightning Web Components Cairo Salesforce Developers Meetup February 15th 2020
  • 2. What to expect - Evolution of Salesforce UI and UI components. - LWC vs Aura. - Spring 20 LWC enhancements. - Aura Events - Lightning Messaging Service
  • 5. Enhanced productivity Use the modern language of the web: ES6+, Custom Elements, and Shadow DOM Built for performance More code executed by the browser instead of JavaScript abstractions for a blazing fast experience Compatible and easy to use Runs side-by-side with existing Lightning components and can be composed with clicks or code Introducing Lightning Web Components Generally Available Spring ‘19 New programming model built on modern web standards
  • 6. LWC and Aura compatibility Aura Component Lightning Web Component Lightning Web Component Aura Component
  • 8. Lightning Web Components - Anatomie consists of 5+ (2/3 required *) files Standard CSS Syntax, applies automatically to this component ES6 module, everything declared in module is local & scoped to the module Custom Icon (Lightning App & Community Builder) Root is <template>, Standard HTML Configuration File, specifies ● APIVersion ● Description, ● General Availability in Tools ● Label ● Targets of possible Appearance and the appropriate Config * * * + + for ! srv cmp
  • 9. Development Tools Salesforce CLIDeveloper Console Salesforce Extensions for VS Code App Builder Process Builder No Code Builders Pro Code Tools Flow Builder
  • 11. Decorators Decorator Description Accessibility Rerender - Private No @track o track a private property’s value and rerender a component when it changes private Yes @api expose a public property that defines the API for a component. public Yes @wire To read Salesforce data use a reactive wire service. private Yes
  • 12. New @Track behavior in Spring 20 @Track - All fields in a Lightning web component class are reactive. - When a field contains an object or an array, there’s a limit to the depth of changes that are tracked. To tell the framework to observe changes to the properties of an object or to the elements of an array, decorate the field with @track. To know more, Check Spring 20 release notes: https://releasenotes.docs.salesforce.com/en-us/spring20/release- notes/rn_lwc_track.htm
  • 13. Aura Component Events Component A Component B Component C Component D Application Events Comp Events
  • 14. For more information check: https://developer.salesforce.com/blogs/2019/10/lightning-message-service- developer-preview.html Lightning Message Service Visualforce LWC Aura
  • 15. learn more with our trailmix • https://sforce.co/lwc • https://developer.salesforce.com/docs/comp onent-library/documentation/lwc • https://trailhead.salesforce.com/en/content/le arn/trails/learn-to-work-with-javascript
  • 16. Send an email to ahmedkishk@gmail.com The fastest correct answer win 50% off certificate voucher Challenge
  • 17. 1. Universal Containers has 2 employees (Sales Rep and Sales Manager). It is required that only Sales Manager can see and edit Account Forecast Field. What a Salesforce Admin should configure to achieve this: A. 1 Page Layout and 1 Record Type B. 2 Page Layouts and 1 Record Type C. 1 Page Layout and 2 Record Types D. 2 page layouts and 2 record types 2. How many DML operations can be executed in a transaction before reaching Governor limits: • A. 50 B. 100 C. 150 D. 200 3. Lightning Web Component can exists in Aura Component: A. True B. False Challenge