Proper data fetching and pagination #2448
Unanswered
danielbettech
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am trying to render a collections page in my hydrogen app.
I can't figure out how to do the complete implementation to get it to work with pagination. I don't know how to send data the selected cursor back to the server component and do the re-fetch.
Cursor based pagination
This is my code to fetch the first 15 collections
/src/routes/collections/index.jsx
/src/components/CollectionsPage.client.jsx
Any help on how this needs to be done, is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions