docs(reference/QueryClient): clarify query client query methods#10725
docs(reference/QueryClient): clarify query client query methods#107250Jaemin0 wants to merge 1 commit into
Conversation
📝 WalkthroughWalkthroughDocumentation for three ChangesQueryClient method documentation clarifications
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run-many --target=build --exclude=examples/*... |
❌ Failed | 1m 53s | View ↗ |
nx affected --targets=test:sherif,test:knip,tes... |
✅ Succeeded | 18s | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-05-18 17:59:57 UTC

🎯 Changes
Clarifies the differences between
queryClient.invalidateQueries,queryClient.refetchQueries, andqueryClient.removeQueriesin theQueryClientreference docs.These methods can look similar because they all match queries by filters, so this adds short Notes explaining whether each method invalidates, refetches, keeps, or removes matching queries.
✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit
invalidateQueriesmarks queries as invalid before refetching, howrefetchQueriesrefetches without invalidation, and howremoveQueriesremoves queries from cache rather than refetching them.