Spfx nojs lazy loading

%3CLINGO-SUB%20id%3D%22lingo-sub-2053799%22%20slang%3D%22en-US%22%3ESpfx%20nojs%20lazy%20loading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2053799%22%20slang%3D%22en-US%22%3EHi%20community%2C%20how%20do%20i%20lazy%20load%20items%20from%20a%20special%20list%20using%20no%20js%20in%20spfx%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2054014%22%20slang%3D%22en-US%22%3ERe%3A%20Spfx%20nojs%20lazy%20loading%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2054014%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F787013%22%20target%3D%22_blank%22%3E%40vaibhavkaulkar%3C%2FA%3E%26nbsp%3BCan%20you%20clarify%20what%20you%20mean%20by%20no%20js%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional 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.