react-infinite-scroll-component
react-infinite-scroll-component copied to clipboard
Drop previously fetched data possible?
Hello, I am looking for an infinite scrolling solution. In your code it seems like all loaded elements are concated to your existing state data array. Did you think about dropping the previous data? (recycler view) Is this possible using your code?
Kind regards.
i second this. i have rendered thousands of DOM elements and its becoming slower and slower. is it possible to only show the dom elements into view
This is not the point of this library. If you wanna combo it with some other tools that do this you can do it freely; I'd recommend https://www.npmjs.com/package/react-recycled-list