Skip to content

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. #392

Open

Description

@muftisamiullah

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions