Skip to content

Why is page prop called page? #300

@ChocolateLoverRaj

Description

@ChocolateLoverRaj

Is your feature request related to a problem? Please describe.
I got confused by the "page" prop because when I think of page I think of pagination, like this image:
pagination
Then when I tried it out I realized that it doesn't call loadMore in batches (which is good because I want to handle api fetching with my own logic).

Describe the solution you'd like
Maybe rename the "page" related props and variables to "index"

Describe alternatives you've considered
Call param "index" in own code

<InfiniteScroll
  loadMore={index => {}}
/>

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