-

Server Side OFFSET-Free Lazy Loading (Keyset Pagination) With Infinite Scroll In Salesforce LWC
Introduction When building modern Salesforce Lightning Web Components (LWCs), one essential UX feature is lazy loading (or infinite scrolling). It helps load data incrementally as users scroll — improving performance, reducing query load, and creating a smooth user experience. Most tutorials and sample code rely on SOQL’s OFFSET keyword. This approach introduces serious scalability issues.…
