Replies: 2 comments 2 replies
-
I was looking for the same because the REST API I'm using, requires id's. E.g. Going over the questions here it seems that the only solution right now is to make |
Beta Was this translation helpful? Give feedback.
-
I've been trying to do something similar. It would be helpful if |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Evening...
I want to be able to build a pagination component that is statically generated for each paginated page...
i.e
projects/, projects/1, ...etc
At the moment, only
currentPage
page from the params object is available in getStaticProps.Without
totalPages
, andpostPerPage
I can't see how I can build a pagination component.I could make the same request in getStaticProps, but this feels icky.
Cheers
Dave
Beta Was this translation helpful? Give feedback.
All reactions