docs(reference/QueryClient): clarify query client query methods#10725
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughDocumentation for three ChangesQueryClient method documentation clarifications
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
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
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>

🎯 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