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.
13 questions
1
vote
1
answer
73
views
Lazy Loading with Child Component
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 ...
0
votes
1
answer
566
views
onscroll not working in LWC
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}>
...
1
vote
1
answer
1k
views
Lazy loading LWC without datatable and loadMore
Let's say we have
<template>
<template if:false={isLoading}>
<div class="cxd-history__container" onscroll={handleScroll}>
<template for:each={historyList}...
0
votes
1
answer
696
views
Salesforce - Lightning Database with lazyload and Sorting
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 ...
0
votes
1
answer
2k
views
Not able to call "loadmoredata" function when scrolled to the bottom in data table lwc salesforce [duplicate]
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 ...
4
votes
2
answers
3k
views
What is this technique called?
public static List<Holiday> holidays {
get {
if(holidays == null)
holidays=[Select h.StartTimeInMinutes, h.Name, h.ActivityDate From Holiday h];
...
10
votes
2
answers
7k
views
What are the best ways to achieve lazy load in Lightning components?
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 ...