question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Infinite pagination

See original GitHub issue

In the https://www.npmjs.com/package/react-table#server-side-data initially we have pages={this.state.pages} // should default to -1 (which means we don't know how many pages we have) and then set it from server response

It is not possible to keep it -1 , I have a use case (Similar to infinite scrolling but no scrolling just infinite paginating) that I want to keep next and previous button , and disable next button when the server returns empty response

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
tannerlinsleycommented, Sep 16, 2019

Yes.

Tanner Linsley On Sep 15, 2019, 11:07 PM -0600, sm2017 notifications@github.com, wrote:

@tannerlinsley Do you have plan to implement lastPage props ? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

0reactions
sm2017commented, Sep 16, 2019

@tannerlinsley Do you have plan to implement lastPage props ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pagination vs. Infinite Scroll: What's the Difference? - seoClarity
Infinite scrolling allows you to continuously scroll through content in its entirety from just one single webpage. Once the scroll bar reaches ...
Read more >
Infinite Scrolling vs. Pagination | by Nick Babich | UX Planet
Infinite scrolling is a technique that allows users to scroll through a massive chunk of content with no finishing-line in sight. This technique...
Read more >
Pagination vs. Infinite Scroll: Which Is Better for Your Content?
Pagination works best on websites where users are looking for specific pieces of content. Infinite scroll is better suited for the exploration ...
Read more >
infinite_scroll_pagination | Flutter Package - Pub.dev
Infinite Scroll Pagination #. Unopinionated, extensible and highly customizable package to help you lazily load and display small chunks of items as the...
Read more >
Infinite Scrolling, Pagination Or “Load More” Buttons ...
With infinite scrolling, sometimes referred to endless scrolling, the user largely experiences the page as if all products are loaded at once ( ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found