Spfx nojs lazy loading

Copper Contributor
Hi community, how do i lazy load items from a special list using no js in spfx?
2 Replies

@vaibhavkaulkar Can you clarify what you mean by no js?

@Beau Cameron I think OP is referring to No JavaScript framework. Is my understanding correct @vaibhavkaulkar ?


If yes, you can use PnP JS with SPFx No JS framework web part. PnP JS supports getting paged items. You can use it to get the pages items on button click or page scrolling as per your requirements.


Check below references for more information:

  1. List Items - PnP/PnPjs
  2. SharePoint Online: CRUD operations using SPFx and PnP JS  

Please click Mark as Best Response if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.