Update query function to include page parameter#9792
Conversation
the first example was broken, now it works!
|
WalkthroughDocumentation update to the React paginated queries guide. The Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
TkDodo
left a comment
There was a problem hiding this comment.
“depends” on how fetchProjects is implemented, as we inject the queryKey into the queryFn so you have all the information to run it that way. But yes, this is the more common approach
the first example was broken, now it works!
🎯 Changes
the first example in the pagination docs was broken, now it works!
✅ Checklist
pnpm run test:pr. (doesn't apply)🚀 Release Impact
Summary by CodeRabbit
Release Notes