react-infinite-scroll-component icon indicating copy to clipboard operation
react-infinite-scroll-component copied to clipboard

Please modify the npm docs and mention that for the dataLength prop we need to pass the actual length of the data that we are currently rendering.

Open muftisamiullah opened this issue 2 years ago • 0 comments

I stumbled upon an issue where I wasnt able to fetch more data, the next function was not being called after spending some time with the code I searched online and found this answer. https://stackoverflow.com/questions/67699376/react-infinite-scroll-component-stopped-working-after-one-call-loadmore-only

it would be wise if we modify and docs and mention whats the proper value that needs to be passed for dataLength

muftisamiullah avatar Sep 28 '23 06:09 muftisamiullah