SlideShare a Scribd company logo
How to improve the performance of
Salesforce Lightning Components?
cloud.analogy info@cloudanalogy.com +1(415)830-3899
TM
Salesforce Lightning Component
Salesforce Lightning Component Framework is a user
interface framework that enables you to craft
dynamic and personalized Salesforce web
applications for mobile and desktop devices. It uses
JavaScript (client-side) and Apex (server-side) to
create single-page web applications.
cloud.analogy info@cloudanalogy.com +1(415)830-3899
Ways to Improve Performance of
Lightning Components in
Salesforce
cloud.analogy info@cloudanalogy.com +1(415)830-3899
cloud.analogy info@cloudanalogy.com +1(415)830-3899
Data
Retrieval01
● Before calling the server, you should make sure there are no other
options for receiving data.
● Pass data between components (using attributes, events, or methods)
instead of retrieving the same data in different components.
● Don't call the server to filter or sort the data that you already have at the
client-side.
● Cache data when possible.
cloud.analogy info@cloudanalogy.com +1(415)830-3899
Data Caching02
Application composition is an incredibly powerful way to build applications by assembling self-
contained components. Without proper planning, the autonomous nature of the components that
you collect can have an adverse impact on the component's performance.
Storable Action03
A storable action is a server action whose response is stored in the client cache so that subsequent
requests for the same server method can be accessed with the same set of arguments from that
cache.
cloud.analogy info@cloudanalogy.com +1(415)830-3899
Lightning Data Service04
Slow Instantiation of
Component05
The Lightning Data Service framework is responsible for maintaining records such as fetching them
from the server, storing them in a highly efficient client cache, sharing them between all
components, and sending the changes to the server. It also handles progressive loading that means
it only loads the requested fields.
Instead of creating all Lightning Components at once, you can delay the instantiation of the
Lightning component.
cloud.analogy info@cloudanalogy.com +1(415)830-3899
06
Utilize Tools For Performance
Improvement
There are many tools available to understand performance issues. So, you can also use the following
profile tools:
Chrome Timeline Salesforce Lightning Inspector
There are two ways to conditionally render Lightning Components:
While using CSS, the components will be created and if there might be any event linked with it, then it will
also get executed. So, this approach to render Lightning Components or elements is not highly
recommended.
But, on the other hand, aura: if will create element only if the condition is true. So, it is preferred to use aura:
if as much as possible to delay page load.
cloud.analogy info@cloudanalogy.com +1(415)830-3899
07 Conditional Rendering
There are two ways to conditionally render Lightning
Components:
While using CSS, the components will be created and if there
might be any event linked with it, then it will also get executed.
So, this approach to render Lightning Components or elements
is not highly recommended.
But, on the other hand, aura: if will create element only if the
condition is true. So, it is preferred to use aura: if as much as
possible to delay page load.
There are two ways to conditionally render Lightning Components:
While using CSS, the components will be created and if there might be
any event linked with it, then it will also get executed. So, this approach to
render Lightning Components or elements is not highly recommended.
But, on the other hand, aura: if will create element only if the condition is
true. So, it is preferred to use aura: if as much as possible to delay page
load.
cloud.analogy info@cloudanalogy.com +1(415)830-3899
08
Use of Unbound
Expression
There are two ways to bind variables in Lightning Components
Bi-directional binding - It is denoted by !.
Syntax would look like {!v.var1}.
Unidirectional or unbound expression - It is denoted by #.
Syntax would look like {#v.var1}0
ghtning Components or elements is not highly recommended.
But, on the other hand, aura: if will create element only if the condition is true. So, it is preferred to use aura:
if as much as possible to delay page load.
cloud.analogy info@cloudanalogy.com +1(415)830-3899
09 Limit Event Handlers
You should try to limit the number of event handlers in your Lightning component. Multiple event
handlers mean your component would be busy handling the event changes resulting in
performance overload.
10 Limit The Use of Application Event
ghtning Components or elements is not highly recommended.
But, on the other hand, aura: if will create element only if the condition is true. So, it is preferred to use aura:
if as much as possible to delay page load.
Application events are very powerful and offer a lot of flexibility to communicate between any
components in the application. However, you should use and handle each application event
accurately.
cloud.analogy info@cloudanalogy.com +1(415)830-3899
11 Setting in Production
We recommend the following two settings in production. These are:
Debug
mode: OFF
Component
Caching: ON
cloud.analogy info@cloudanalogy.com +1(415)830-3899
Have any questions or facing issues while
developing Salesforce Lightning
applications? Hire the best Salesforce
Lightning Expert, choose Cloud Analogy now!
cloud.analogy info@cloudanalogy.com +1(415)830-3899
Thank you

More Related Content

What's hot

Introduction to Salesforce Connected Apps
Introduction to Salesforce Connected AppsIntroduction to Salesforce Connected Apps
Introduction to Salesforce Connected Apps
Cloud Analogy
 
Apex Trigger in Salesforce
Apex Trigger in SalesforceApex Trigger in Salesforce
Apex Trigger in Salesforce
Cloud Analogy
 
What are Customer Success Platforms?
What are Customer Success Platforms?What are Customer Success Platforms?
What are Customer Success Platforms?
Cloud Analogy
 
Introduction to Lightning Testing Service
Introduction to Lightning Testing ServiceIntroduction to Lightning Testing Service
Introduction to Lightning Testing Service
Cloud Analogy
 
Reports & Dashboard In HubSpot CRM
Reports & Dashboard In HubSpot CRMReports & Dashboard In HubSpot CRM
Reports & Dashboard In HubSpot CRM
Cloud Analogy
 
Salesforce Admin - Build Reports Lightning Fast!
Salesforce Admin - Build Reports Lightning Fast!Salesforce Admin - Build Reports Lightning Fast!
Salesforce Admin - Build Reports Lightning Fast!
Cloud Analogy
 
10 of Our Favorite Salesforce Winter ’21 Features
10 of Our Favorite Salesforce Winter ’21 Features10 of Our Favorite Salesforce Winter ’21 Features
10 of Our Favorite Salesforce Winter ’21 Features
Doria Hamelryk
 
Top 10 Salesforce Extensions For Chrome
Top 10 Salesforce Extensions For ChromeTop 10 Salesforce Extensions For Chrome
Top 10 Salesforce Extensions For Chrome
Cloud Analogy
 
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
Cloud Analogy
 
Salesforce release nonprofit & education - accounting subledger
Salesforce release    nonprofit & education - accounting subledgerSalesforce release    nonprofit & education - accounting subledger
Salesforce release nonprofit & education - accounting subledger
Cloud Analogy
 
Salesforce Unveils New Analytics And Provider Relationship Management Tools
Salesforce Unveils New Analytics And Provider Relationship Management ToolsSalesforce Unveils New Analytics And Provider Relationship Management Tools
Salesforce Unveils New Analytics And Provider Relationship Management Tools
Cloud Analogy
 
Winter 20 Salesforce Release Webinar
Winter 20 Salesforce Release WebinarWinter 20 Salesforce Release Webinar
Winter 20 Salesforce Release Webinar
brightgenss
 
5 Reasons Why Partner Communities Are Important To Your Success
5 Reasons Why Partner Communities Are Important To Your Success5 Reasons Why Partner Communities Are Important To Your Success
5 Reasons Why Partner Communities Are Important To Your Success
Cloud Analogy
 
Salesforce Partner Licensing Types- ISVforce Vs OEM Embedded
Salesforce Partner Licensing Types- ISVforce Vs OEM EmbeddedSalesforce Partner Licensing Types- ISVforce Vs OEM Embedded
Salesforce Partner Licensing Types- ISVforce Vs OEM Embedded
Cloud Analogy
 
Apps lightning experience dynamic actions enhancements
Apps  lightning experience  dynamic actions enhancementsApps  lightning experience  dynamic actions enhancements
Apps lightning experience dynamic actions enhancements
Cloud Analogy
 
Checklist for successful salesforce implementation
Checklist for successful salesforce implementationChecklist for successful salesforce implementation
Checklist for successful salesforce implementation
Cloud Analogy
 
5 Reasons why Dell Boomi is just the right one for your Business
5 Reasons why Dell Boomi is just the right one for your Business5 Reasons why Dell Boomi is just the right one for your Business
5 Reasons why Dell Boomi is just the right one for your Business
Cloud Analogy
 
Importance of Salesforce Community Cloud for your businesses.
Importance of Salesforce Community Cloud for your businesses.Importance of Salesforce Community Cloud for your businesses.
Importance of Salesforce Community Cloud for your businesses.
Cloud Analogy
 
Top Salesforce Tips That Help You Boost Productivity
Top Salesforce Tips That Help You Boost ProductivityTop Salesforce Tips That Help You Boost Productivity
Top Salesforce Tips That Help You Boost Productivity
Cloud Analogy
 
Financial Service Cloud- Release Readiness LIVE, Winter’21
Financial Service Cloud- Release Readiness LIVE, Winter’21Financial Service Cloud- Release Readiness LIVE, Winter’21
Financial Service Cloud- Release Readiness LIVE, Winter’21
Cloud Analogy
 

What's hot (20)

Introduction to Salesforce Connected Apps
Introduction to Salesforce Connected AppsIntroduction to Salesforce Connected Apps
Introduction to Salesforce Connected Apps
 
Apex Trigger in Salesforce
Apex Trigger in SalesforceApex Trigger in Salesforce
Apex Trigger in Salesforce
 
What are Customer Success Platforms?
What are Customer Success Platforms?What are Customer Success Platforms?
What are Customer Success Platforms?
 
Introduction to Lightning Testing Service
Introduction to Lightning Testing ServiceIntroduction to Lightning Testing Service
Introduction to Lightning Testing Service
 
Reports & Dashboard In HubSpot CRM
Reports & Dashboard In HubSpot CRMReports & Dashboard In HubSpot CRM
Reports & Dashboard In HubSpot CRM
 
Salesforce Admin - Build Reports Lightning Fast!
Salesforce Admin - Build Reports Lightning Fast!Salesforce Admin - Build Reports Lightning Fast!
Salesforce Admin - Build Reports Lightning Fast!
 
10 of Our Favorite Salesforce Winter ’21 Features
10 of Our Favorite Salesforce Winter ’21 Features10 of Our Favorite Salesforce Winter ’21 Features
10 of Our Favorite Salesforce Winter ’21 Features
 
Top 10 Salesforce Extensions For Chrome
Top 10 Salesforce Extensions For ChromeTop 10 Salesforce Extensions For Chrome
Top 10 Salesforce Extensions For Chrome
 
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
 
Salesforce release nonprofit & education - accounting subledger
Salesforce release    nonprofit & education - accounting subledgerSalesforce release    nonprofit & education - accounting subledger
Salesforce release nonprofit & education - accounting subledger
 
Salesforce Unveils New Analytics And Provider Relationship Management Tools
Salesforce Unveils New Analytics And Provider Relationship Management ToolsSalesforce Unveils New Analytics And Provider Relationship Management Tools
Salesforce Unveils New Analytics And Provider Relationship Management Tools
 
Winter 20 Salesforce Release Webinar
Winter 20 Salesforce Release WebinarWinter 20 Salesforce Release Webinar
Winter 20 Salesforce Release Webinar
 
5 Reasons Why Partner Communities Are Important To Your Success
5 Reasons Why Partner Communities Are Important To Your Success5 Reasons Why Partner Communities Are Important To Your Success
5 Reasons Why Partner Communities Are Important To Your Success
 
Salesforce Partner Licensing Types- ISVforce Vs OEM Embedded
Salesforce Partner Licensing Types- ISVforce Vs OEM EmbeddedSalesforce Partner Licensing Types- ISVforce Vs OEM Embedded
Salesforce Partner Licensing Types- ISVforce Vs OEM Embedded
 
Apps lightning experience dynamic actions enhancements
Apps  lightning experience  dynamic actions enhancementsApps  lightning experience  dynamic actions enhancements
Apps lightning experience dynamic actions enhancements
 
Checklist for successful salesforce implementation
Checklist for successful salesforce implementationChecklist for successful salesforce implementation
Checklist for successful salesforce implementation
 
5 Reasons why Dell Boomi is just the right one for your Business
5 Reasons why Dell Boomi is just the right one for your Business5 Reasons why Dell Boomi is just the right one for your Business
5 Reasons why Dell Boomi is just the right one for your Business
 
Importance of Salesforce Community Cloud for your businesses.
Importance of Salesforce Community Cloud for your businesses.Importance of Salesforce Community Cloud for your businesses.
Importance of Salesforce Community Cloud for your businesses.
 
Top Salesforce Tips That Help You Boost Productivity
Top Salesforce Tips That Help You Boost ProductivityTop Salesforce Tips That Help You Boost Productivity
Top Salesforce Tips That Help You Boost Productivity
 
Financial Service Cloud- Release Readiness LIVE, Winter’21
Financial Service Cloud- Release Readiness LIVE, Winter’21Financial Service Cloud- Release Readiness LIVE, Winter’21
Financial Service Cloud- Release Readiness LIVE, Winter’21
 

Similar to How to improve the performance of Salesforce Lightning Components?

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
 
Magnify your user experience with lightning flow
Magnify your user experience with lightning flowMagnify your user experience with lightning flow
Magnify your user experience with lightning flow
Cloud Analogy
 
Magnify your user experience with lightning flow
Magnify your user experience with lightning flowMagnify your user experience with lightning flow
Magnify your user experience with lightning flow
Nitesh Singh
 
Lightning component testing with jasmine
Lightning component testing with jasmineLightning component testing with jasmine
Lightning component testing with jasmine
Nitesh Singh
 
Rits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce LightningRits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce Lightning
Right IT Services
 
What are the tools and techniques for managing Big Data in your Org
What are the tools and techniques for managing Big Data in your OrgWhat are the tools and techniques for managing Big Data in your Org
What are the tools and techniques for managing Big Data in your Org
Cloud Analogy
 
Get into Lightning Flow in Salesforce
Get into Lightning Flow in SalesforceGet into Lightning Flow in Salesforce
Get into Lightning Flow in Salesforce
Cloud Analogy
 
AWS Summit London 2014 | Options for Hybrid Environments (200)
AWS Summit London 2014 | Options for Hybrid Environments (200)AWS Summit London 2014 | Options for Hybrid Environments (200)
AWS Summit London 2014 | Options for Hybrid Environments (200)
Amazon Web Services
 
Top 5 React Performance Optimization Techniques in 2023
Top 5 React Performance Optimization Techniques in 2023Top 5 React Performance Optimization Techniques in 2023
Top 5 React Performance Optimization Techniques in 2023
ultroNeous Technologies | Best Web App Development Company
 
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
HostedbyConfluent
 
High performance coding practices code project
High performance coding practices code projectHigh performance coding practices code project
High performance coding practices code projectPruthvi B Patil
 
LWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilityLWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura Interoperability
Salesforce Developers
 
Step by Step Salesforce Integration with AWS.pptx
Step by Step Salesforce Integration with AWS.pptxStep by Step Salesforce Integration with AWS.pptx
Step by Step Salesforce Integration with AWS.pptx
AwsQuality
 
Top Salesforce Winter '22 Release Features
Top Salesforce Winter '22 Release FeaturesTop Salesforce Winter '22 Release Features
Top Salesforce Winter '22 Release Features
Cloud Analogy
 
Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks
Thinqloud
 
LWC_Workbxcgbgfbgfbfgbfgbfbfbshop_Day2.pptx
LWC_Workbxcgbgfbgfbfgbfgbfbfbshop_Day2.pptxLWC_Workbxcgbgfbgfbfgbfgbfbfbshop_Day2.pptx
LWC_Workbxcgbgfbgfbfgbfgbfbfbshop_Day2.pptx
Vkrish Peru
 
Lightning Web Components
Lightning Web ComponentsLightning Web Components
Lightning Web Components
Ahmed Keshk
 
Mule esb with amazon s3 Integration
Mule esb with amazon s3 IntegrationMule esb with amazon s3 Integration
Mule esb with amazon s3 Integration
sivachandra mandalapu
 
Everything You Need To Know About Lightning Flow Features
Everything You Need To Know About Lightning Flow FeaturesEverything You Need To Know About Lightning Flow Features
Everything You Need To Know About Lightning Flow Features
Cloud Analogy
 
Lightning components ver1.0
Lightning components ver1.0Lightning components ver1.0
Lightning components ver1.0
Akhil Anil ☁
 

Similar to How to improve the performance of Salesforce Lightning Components? (20)

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
 
Magnify your user experience with lightning flow
Magnify your user experience with lightning flowMagnify your user experience with lightning flow
Magnify your user experience with lightning flow
 
Magnify your user experience with lightning flow
Magnify your user experience with lightning flowMagnify your user experience with lightning flow
Magnify your user experience with lightning flow
 
Lightning component testing with jasmine
Lightning component testing with jasmineLightning component testing with jasmine
Lightning component testing with jasmine
 
Rits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce LightningRits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce Lightning
 
What are the tools and techniques for managing Big Data in your Org
What are the tools and techniques for managing Big Data in your OrgWhat are the tools and techniques for managing Big Data in your Org
What are the tools and techniques for managing Big Data in your Org
 
Get into Lightning Flow in Salesforce
Get into Lightning Flow in SalesforceGet into Lightning Flow in Salesforce
Get into Lightning Flow in Salesforce
 
AWS Summit London 2014 | Options for Hybrid Environments (200)
AWS Summit London 2014 | Options for Hybrid Environments (200)AWS Summit London 2014 | Options for Hybrid Environments (200)
AWS Summit London 2014 | Options for Hybrid Environments (200)
 
Top 5 React Performance Optimization Techniques in 2023
Top 5 React Performance Optimization Techniques in 2023Top 5 React Performance Optimization Techniques in 2023
Top 5 React Performance Optimization Techniques in 2023
 
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
Build an Event-driven Microservices with Apache Kafka & Apache Flink with Ali...
 
High performance coding practices code project
High performance coding practices code projectHigh performance coding practices code project
High performance coding practices code project
 
LWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilityLWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura Interoperability
 
Step by Step Salesforce Integration with AWS.pptx
Step by Step Salesforce Integration with AWS.pptxStep by Step Salesforce Integration with AWS.pptx
Step by Step Salesforce Integration with AWS.pptx
 
Top Salesforce Winter '22 Release Features
Top Salesforce Winter '22 Release FeaturesTop Salesforce Winter '22 Release Features
Top Salesforce Winter '22 Release Features
 
Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks Salesforce Lightning Tips & Tricks
Salesforce Lightning Tips & Tricks
 
LWC_Workbxcgbgfbgfbfgbfgbfbfbshop_Day2.pptx
LWC_Workbxcgbgfbgfbfgbfgbfbfbshop_Day2.pptxLWC_Workbxcgbgfbgfbfgbfgbfbfbshop_Day2.pptx
LWC_Workbxcgbgfbgfbfgbfgbfbfbshop_Day2.pptx
 
Lightning Web Components
Lightning Web ComponentsLightning Web Components
Lightning Web Components
 
Mule esb with amazon s3 Integration
Mule esb with amazon s3 IntegrationMule esb with amazon s3 Integration
Mule esb with amazon s3 Integration
 
Everything You Need To Know About Lightning Flow Features
Everything You Need To Know About Lightning Flow FeaturesEverything You Need To Know About Lightning Flow Features
Everything You Need To Know About Lightning Flow Features
 
Lightning components ver1.0
Lightning components ver1.0Lightning components ver1.0
Lightning components ver1.0
 

More from Cloud Analogy

Zendesk Integration With Salesforce .pptx
Zendesk Integration With Salesforce .pptxZendesk Integration With Salesforce .pptx
Zendesk Integration With Salesforce .pptx
Cloud Analogy
 
Salesforce Integration With Mailchimp (1).pptx
Salesforce Integration With Mailchimp (1).pptxSalesforce Integration With Mailchimp (1).pptx
Salesforce Integration With Mailchimp (1).pptx
Cloud Analogy
 
Top Salesforce Integrations For Businesses In 2022
Top Salesforce Integrations For Businesses In 2022Top Salesforce Integrations For Businesses In 2022
Top Salesforce Integrations For Businesses In 2022
Cloud Analogy
 
Top 5 Zoho Products And Their Features.pptx
Top 5 Zoho Products And Their Features.pptxTop 5 Zoho Products And Their Features.pptx
Top 5 Zoho Products And Their Features.pptx
Cloud Analogy
 
SAP vs Oracle: Which ERP System Should You Choose In 2022?
SAP vs Oracle: Which ERP System Should You Choose In 2022?SAP vs Oracle: Which ERP System Should You Choose In 2022?
SAP vs Oracle: Which ERP System Should You Choose In 2022?
Cloud Analogy
 
5 Low-Code Tools To Increase Salesforce Admins Productivity
5 Low-Code Tools To Increase Salesforce Admins Productivity5 Low-Code Tools To Increase Salesforce Admins Productivity
5 Low-Code Tools To Increase Salesforce Admins Productivity
Cloud Analogy
 
Tips To Make The Most Out Of Salesforce CRM
Tips To Make The Most Out Of Salesforce CRMTips To Make The Most Out Of Salesforce CRM
Tips To Make The Most Out Of Salesforce CRM
Cloud Analogy
 
5 Tips For Salesforce Admin In 2022
5 Tips For Salesforce Admin In 20225 Tips For Salesforce Admin In 2022
5 Tips For Salesforce Admin In 2022
Cloud Analogy
 
Trailhead Badges To Earn In 2022
Trailhead Badges To Earn In 2022Trailhead Badges To Earn In 2022
Trailhead Badges To Earn In 2022
Cloud Analogy
 
HubSpot And Slack Integration
HubSpot And Slack IntegrationHubSpot And Slack Integration
HubSpot And Slack Integration
Cloud Analogy
 
Multi-Factor Authentication In Salesforce
Multi-Factor Authentication In SalesforceMulti-Factor Authentication In Salesforce
Multi-Factor Authentication In Salesforce
Cloud Analogy
 
5 Myths About Salesforce CRM
5 Myths About Salesforce CRM5 Myths About Salesforce CRM
5 Myths About Salesforce CRM
Cloud Analogy
 
6 Sales Promotion Tips For Marketing Success
6 Sales Promotion Tips For Marketing Success6 Sales Promotion Tips For Marketing Success
6 Sales Promotion Tips For Marketing Success
Cloud Analogy
 
How Marketing Cloud Latest Features Can Improve Your Campaign Performance
How Marketing Cloud Latest Features Can Improve Your Campaign PerformanceHow Marketing Cloud Latest Features Can Improve Your Campaign Performance
How Marketing Cloud Latest Features Can Improve Your Campaign Performance
Cloud Analogy
 
Important Salesforce Trends to Watch Out for in 2022
Important Salesforce Trends to Watch Out for in 2022Important Salesforce Trends to Watch Out for in 2022
Important Salesforce Trends to Watch Out for in 2022
Cloud Analogy
 
How To Build Your Sales Career In The Salesforce Ecosystem
How To Build Your Sales Career In The Salesforce EcosystemHow To Build Your Sales Career In The Salesforce Ecosystem
How To Build Your Sales Career In The Salesforce Ecosystem
Cloud Analogy
 
Best Sales Metrics Every Sales Leader Should Know
Best Sales Metrics Every Sales Leader Should KnowBest Sales Metrics Every Sales Leader Should Know
Best Sales Metrics Every Sales Leader Should Know
Cloud Analogy
 
Common Salesforce CPQ Implementation Challenges
Common Salesforce CPQ Implementation ChallengesCommon Salesforce CPQ Implementation Challenges
Common Salesforce CPQ Implementation Challenges
Cloud Analogy
 
5 Accurate Sales Forecasting Strategies To Predict Your Revenue
5 Accurate Sales Forecasting Strategies To Predict Your Revenue5 Accurate Sales Forecasting Strategies To Predict Your Revenue
5 Accurate Sales Forecasting Strategies To Predict Your Revenue
Cloud Analogy
 
How To Utilize Slack As A Secret Weapon For Your Sales Team
How To Utilize Slack As A Secret Weapon For Your Sales TeamHow To Utilize Slack As A Secret Weapon For Your Sales Team
How To Utilize Slack As A Secret Weapon For Your Sales Team
Cloud Analogy
 

More from Cloud Analogy (20)

Zendesk Integration With Salesforce .pptx
Zendesk Integration With Salesforce .pptxZendesk Integration With Salesforce .pptx
Zendesk Integration With Salesforce .pptx
 
Salesforce Integration With Mailchimp (1).pptx
Salesforce Integration With Mailchimp (1).pptxSalesforce Integration With Mailchimp (1).pptx
Salesforce Integration With Mailchimp (1).pptx
 
Top Salesforce Integrations For Businesses In 2022
Top Salesforce Integrations For Businesses In 2022Top Salesforce Integrations For Businesses In 2022
Top Salesforce Integrations For Businesses In 2022
 
Top 5 Zoho Products And Their Features.pptx
Top 5 Zoho Products And Their Features.pptxTop 5 Zoho Products And Their Features.pptx
Top 5 Zoho Products And Their Features.pptx
 
SAP vs Oracle: Which ERP System Should You Choose In 2022?
SAP vs Oracle: Which ERP System Should You Choose In 2022?SAP vs Oracle: Which ERP System Should You Choose In 2022?
SAP vs Oracle: Which ERP System Should You Choose In 2022?
 
5 Low-Code Tools To Increase Salesforce Admins Productivity
5 Low-Code Tools To Increase Salesforce Admins Productivity5 Low-Code Tools To Increase Salesforce Admins Productivity
5 Low-Code Tools To Increase Salesforce Admins Productivity
 
Tips To Make The Most Out Of Salesforce CRM
Tips To Make The Most Out Of Salesforce CRMTips To Make The Most Out Of Salesforce CRM
Tips To Make The Most Out Of Salesforce CRM
 
5 Tips For Salesforce Admin In 2022
5 Tips For Salesforce Admin In 20225 Tips For Salesforce Admin In 2022
5 Tips For Salesforce Admin In 2022
 
Trailhead Badges To Earn In 2022
Trailhead Badges To Earn In 2022Trailhead Badges To Earn In 2022
Trailhead Badges To Earn In 2022
 
HubSpot And Slack Integration
HubSpot And Slack IntegrationHubSpot And Slack Integration
HubSpot And Slack Integration
 
Multi-Factor Authentication In Salesforce
Multi-Factor Authentication In SalesforceMulti-Factor Authentication In Salesforce
Multi-Factor Authentication In Salesforce
 
5 Myths About Salesforce CRM
5 Myths About Salesforce CRM5 Myths About Salesforce CRM
5 Myths About Salesforce CRM
 
6 Sales Promotion Tips For Marketing Success
6 Sales Promotion Tips For Marketing Success6 Sales Promotion Tips For Marketing Success
6 Sales Promotion Tips For Marketing Success
 
How Marketing Cloud Latest Features Can Improve Your Campaign Performance
How Marketing Cloud Latest Features Can Improve Your Campaign PerformanceHow Marketing Cloud Latest Features Can Improve Your Campaign Performance
How Marketing Cloud Latest Features Can Improve Your Campaign Performance
 
Important Salesforce Trends to Watch Out for in 2022
Important Salesforce Trends to Watch Out for in 2022Important Salesforce Trends to Watch Out for in 2022
Important Salesforce Trends to Watch Out for in 2022
 
How To Build Your Sales Career In The Salesforce Ecosystem
How To Build Your Sales Career In The Salesforce EcosystemHow To Build Your Sales Career In The Salesforce Ecosystem
How To Build Your Sales Career In The Salesforce Ecosystem
 
Best Sales Metrics Every Sales Leader Should Know
Best Sales Metrics Every Sales Leader Should KnowBest Sales Metrics Every Sales Leader Should Know
Best Sales Metrics Every Sales Leader Should Know
 
Common Salesforce CPQ Implementation Challenges
Common Salesforce CPQ Implementation ChallengesCommon Salesforce CPQ Implementation Challenges
Common Salesforce CPQ Implementation Challenges
 
5 Accurate Sales Forecasting Strategies To Predict Your Revenue
5 Accurate Sales Forecasting Strategies To Predict Your Revenue5 Accurate Sales Forecasting Strategies To Predict Your Revenue
5 Accurate Sales Forecasting Strategies To Predict Your Revenue
 
How To Utilize Slack As A Secret Weapon For Your Sales Team
How To Utilize Slack As A Secret Weapon For Your Sales TeamHow To Utilize Slack As A Secret Weapon For Your Sales Team
How To Utilize Slack As A Secret Weapon For Your Sales Team
 

Recently uploaded

Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 

Recently uploaded (20)

Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 

How to improve the performance of Salesforce Lightning Components?

  • 1. How to improve the performance of Salesforce Lightning Components? cloud.analogy info@cloudanalogy.com +1(415)830-3899 TM
  • 2. Salesforce Lightning Component Salesforce Lightning Component Framework is a user interface framework that enables you to craft dynamic and personalized Salesforce web applications for mobile and desktop devices. It uses JavaScript (client-side) and Apex (server-side) to create single-page web applications. cloud.analogy info@cloudanalogy.com +1(415)830-3899
  • 3. Ways to Improve Performance of Lightning Components in Salesforce cloud.analogy info@cloudanalogy.com +1(415)830-3899
  • 4. cloud.analogy info@cloudanalogy.com +1(415)830-3899 Data Retrieval01 ● Before calling the server, you should make sure there are no other options for receiving data. ● Pass data between components (using attributes, events, or methods) instead of retrieving the same data in different components. ● Don't call the server to filter or sort the data that you already have at the client-side. ● Cache data when possible.
  • 5. cloud.analogy info@cloudanalogy.com +1(415)830-3899 Data Caching02 Application composition is an incredibly powerful way to build applications by assembling self- contained components. Without proper planning, the autonomous nature of the components that you collect can have an adverse impact on the component's performance. Storable Action03 A storable action is a server action whose response is stored in the client cache so that subsequent requests for the same server method can be accessed with the same set of arguments from that cache.
  • 6. cloud.analogy info@cloudanalogy.com +1(415)830-3899 Lightning Data Service04 Slow Instantiation of Component05 The Lightning Data Service framework is responsible for maintaining records such as fetching them from the server, storing them in a highly efficient client cache, sharing them between all components, and sending the changes to the server. It also handles progressive loading that means it only loads the requested fields. Instead of creating all Lightning Components at once, you can delay the instantiation of the Lightning component.
  • 7. cloud.analogy info@cloudanalogy.com +1(415)830-3899 06 Utilize Tools For Performance Improvement There are many tools available to understand performance issues. So, you can also use the following profile tools: Chrome Timeline Salesforce Lightning Inspector
  • 8. There are two ways to conditionally render Lightning Components: While using CSS, the components will be created and if there might be any event linked with it, then it will also get executed. So, this approach to render Lightning Components or elements is not highly recommended. But, on the other hand, aura: if will create element only if the condition is true. So, it is preferred to use aura: if as much as possible to delay page load. cloud.analogy info@cloudanalogy.com +1(415)830-3899 07 Conditional Rendering There are two ways to conditionally render Lightning Components: While using CSS, the components will be created and if there might be any event linked with it, then it will also get executed. So, this approach to render Lightning Components or elements is not highly recommended. But, on the other hand, aura: if will create element only if the condition is true. So, it is preferred to use aura: if as much as possible to delay page load.
  • 9. There are two ways to conditionally render Lightning Components: While using CSS, the components will be created and if there might be any event linked with it, then it will also get executed. So, this approach to render Lightning Components or elements is not highly recommended. But, on the other hand, aura: if will create element only if the condition is true. So, it is preferred to use aura: if as much as possible to delay page load. cloud.analogy info@cloudanalogy.com +1(415)830-3899 08 Use of Unbound Expression There are two ways to bind variables in Lightning Components Bi-directional binding - It is denoted by !. Syntax would look like {!v.var1}. Unidirectional or unbound expression - It is denoted by #. Syntax would look like {#v.var1}0
  • 10. ghtning Components or elements is not highly recommended. But, on the other hand, aura: if will create element only if the condition is true. So, it is preferred to use aura: if as much as possible to delay page load. cloud.analogy info@cloudanalogy.com +1(415)830-3899 09 Limit Event Handlers You should try to limit the number of event handlers in your Lightning component. Multiple event handlers mean your component would be busy handling the event changes resulting in performance overload. 10 Limit The Use of Application Event ghtning Components or elements is not highly recommended. But, on the other hand, aura: if will create element only if the condition is true. So, it is preferred to use aura: if as much as possible to delay page load. Application events are very powerful and offer a lot of flexibility to communicate between any components in the application. However, you should use and handle each application event accurately.
  • 11. cloud.analogy info@cloudanalogy.com +1(415)830-3899 11 Setting in Production We recommend the following two settings in production. These are: Debug mode: OFF Component Caching: ON
  • 12. cloud.analogy info@cloudanalogy.com +1(415)830-3899 Have any questions or facing issues while developing Salesforce Lightning applications? Hire the best Salesforce Lightning Expert, choose Cloud Analogy now!