useSWRInfinite - Index Based Paginated API - expected initial fetch pageIndex = 1 #2742
Unanswered
hajirasyafi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why pageIndex on initial fetch is 0? how to set to 1 on initial fetch
the response of pageIndex 0 and pageIndex 1 has same value :
page 0 response
page 1 response
I'm using Strapi CMS, idk why page 0 and page 1 has same value
Beta Was this translation helpful? Give feedback.
All reactions