You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's the year 2020. You use a modern front-end stack of Relay, GraphQL, React and TypeScript. You can build an infinite scroll 'feed' type UI totally out of the box with these tools, by mostly putting together boilerplate (proper connections, along with a pagination container). You have a design system, and are rapidly building up a component library. Things are great!
Then you take a look at the latest design comps for a 'browse' type page, and you see that the controversial infinite scroll has been replaced by a more traditional pagination bar.
Comment thread for windowed pagination post!
The text was updated successfully, but these errors were encountered:
How do you deal with these types of errors? Unexpected after cursor `THE_CURSOR`, edges must be fetched from the end of the list
At least react-relay (using the usePaginationFragment hook) doesn't allow choosing an after cursor that is different from the endCursor, so how could one implement the skipping of pages?
It's the year 2020. You use a modern front-end stack of Relay, GraphQL, React and TypeScript. You can build an infinite scroll 'feed' type UI totally out of the box with these tools, by mostly putting together boilerplate (proper connections, along with a pagination container). You have a design system, and are rapidly building up a component library. Things are great!
Then you take a look at the latest design comps for a 'browse' type page, and you see that the
controversial infinite scroll has been replaced by a more traditional pagination bar.
Comment thread for windowed pagination post!
The text was updated successfully, but these errors were encountered: