Following libraries might be useful depending on your use case:
- For Tables/Grids:
- TanStack Virtual (recommended)
- react-virtualized
- For simple infinite scroll, go for react-infinite-scroller
- For General purpose :
- React Window
- Virtuoso (has some paid features)
In case you are looking for help with react-window, you can check out :
https://www.npmjs.com/package/react-window
Code Sandbox Demo Link : https://codesandbox.io/s/5wqo7z2np4