function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Amit Visapurkar 5Amit Visapurkar 5 

How to do lazy loading in lightning components


I have a lightning component that displays a list of contacts with a show more button.However i want to have the lazy loading functionality for it the same as we can have for visualforce. Is this possible. 

If yes can anybody share some relevant content.

Amit Visapurkar
Ashif KhanAshif Khan
Hi Amit,
In lightning dataTable there is a code sample for infinite loading. Heading as given below 
Using Infinite Scrolling to Load More Rows

This will help you

Wade JonesWade Jones
A participant with no previous projects is considered to have no reliability rating, and therefore gets no bonus. Reliability bonus does not apply to Digital Run winnings. For challenges that have a reliability bonus, the bonus depends on the reliability rating at the moment of registration for that project.  Liteblue Login (
You can find a working code sample, which includes many other features as well.
Yogendra JangidYogendra Jangid
Hi, if you plan to build out a solution on lazy loading or infinite loading in LWC, check out on blog (" target="_blank)
You will get many view and approaches to implement the solution.