Replies: 1 comment 2 replies
-
You can also set your
|
Beta Was this translation helpful? Give feedback.
2 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, see Confluence pagination: https://developer.atlassian.com/server/confluence/pagination-in-the-rest-api/
So pageParams are urls to other pages. Therefore there is no "initialPageParam". But with v5, initialPageParam is required.
We can work around it by either passing empty string as
initialPageParam
(and in queryFn, check if pageParam is empty string or not) or by passing the original url asinitialPageParam
. But that's far from being elegant. Why make it required?Beta Was this translation helpful? Give feedback.
All reactions