Skip to main content

Questions tagged [lazy-loading]

Lazy loading is a design pattern commonly used to defer initialization of an object until the point at which it is needed.

Filter by
Sorted by
Tagged with
1 vote
1 answer
73 views

I have a lWC that passes a list to another lwc. All was fine until an exiting account added 16k records. Now, my LWC takes forever to load. From what I can find, it seems that Lazy Loading would ...
Frank's user avatar
  • 485
0 votes
1 answer
566 views

I am trying to implement infinite loading purely from js by using onscroll event in my LWC. Html: <template> <!--Some other html code--> <template if:true={showRecords}> ...
JackSparrow's user avatar
1 vote
1 answer
1k views

Let's say we have <template> <template if:false={isLoading}> <div class="cxd-history__container" onscroll={handleScroll}> <template for:each={historyList}...
pincet's user avatar
  • 1,001
0 votes
1 answer
696 views

How can we use lightning data table lazy load functionality with sorting of columns? As Lazy load only will bring certain no of records at a time then sorting actually is working on those set of ...
ab02's user avatar
  • 1
0 votes
1 answer
2k views

I have created a lightning web component in which i am using lightning data table. Now, i am try to implement infinite lazy loading but unable to call my loadmoredata function. here is my code ...
Shubham's user avatar
4 votes
2 answers
3k views

public static List<Holiday> holidays { get { if(holidays == null) holidays=[Select h.StartTimeInMinutes, h.Name, h.ActivityDate From Holiday h]; ...
John Lima's user avatar
10 votes
2 answers
7k views

I have come across many discussions to improve the performance of Lightning components and everybody has their own approach and solution. What do you reckon is the best way to implement the concept of ...
Salesforcesmarty's user avatar