Atlas Blueprint Portfolio pagination #1240
npazarkoski
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I would like to ask if anyone is experiencing any issue with the pagination ("Load More" functionality) for projects and posts index pages on the Atlas Blueprint Portfolio (https://github.com/wpengine/atlas-blueprint-portfolio) ?
Everything works fine on those pages with loading more items until I redirect to another page and go back. After going back the pagination is not working correctly on my side (whole cached list is displayed, but the
endCursor
and thehasNextPage
are set as after initial load).Does anyone can propose solution with continuing to use only
cache-first
policy? (workaround that I did is to use cursor from the last item in the list instead ofendCursor
frompageInfo
, and store the maximum number of items in context prop whenhasNextPage
is false)Beta Was this translation helpful? Give feedback.
All reactions