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 help me. Please correct me if that is wrong. But my question is how do I implement lazy loading when the actual display of records is in a child lwc?
This is on my parent html. The child displays the records:
<c-gs-list account-id={accountId} numberrecords={numberrecords} account-name={acctname} stay-on-page={stayOnPage} filteredgroupstructures={filteredgroupstructures} onclose = {refreshHandler} pass-previous-page-down={passPreviousPageDown}></c-gs-list>
In the datatable I am supposed to add " onloadmore={loadMoreData} "
I'm just unsure of how to bridge the gap to call the loadMoreData from the child component.
Thank you!!!