usePaginatedQuery results are odd when "skipped"
I just noticed that my paginated results are indefinitely loading when I pass the "skip" as the argument... I am not sure if this a bug or if its the expected behaviour.
When skipped I get this result:
I assumed that if 'skip' was passed in, and the query is skipped, it would return isLoading: false, or something like that.
2 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Are you seeing any adverse effects? I believe this is by design, as there's no "skipped" state.
Usually skipping is done temporarily until an expected state is reached (typically that state is the user becoming authenticated, but could be anything). In which case, loading is an accurate state.