docs(react-query/reference): remove stale 'suspense' references left over from the v5 suspense split - #11200
Conversation
…over from the v5 suspense split
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (3)
Included review availability: Your plan includes up to 10 reviews per rolling hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe React reference documentation removes outdated suspense option restrictions and an obsolete ChangesSuspense documentation alignment
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This change only removes stale documentation references and does not alter published code or runtime behavior; no actionable merge-blocking risk remains after normal checks and review. Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
|
View your CI Pipeline Execution ↗ for commit 5f88e1b
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Removes
suspensefrom the "except for" option lists inuseSuspenseInfiniteQuery.mdanduseSuspenseQueries.md, and removes a stale sentence aboutsuspense's default behavior fromuseQuery.md'sthrowOnErrordescription.suspensewas already omitted fromUseInfiniteQueryOptionsandUseQueryOptions(OmitKeyof<..., 'suspense'>inpackages/react-query/src/types.ts), andDefaultOptions['queries']omits it too — so it can never reach a plainuseQuery/useInfiniteQuery/useQueriescall. Listing it as somethinguseSuspenseInfiniteQuery/useSuspenseQueriesadditionally excludes, or describing it as a behaviorthrowOnError: falsedisables, describes an unreachable state.useSuspenseQuery.md(the correct reference) never listedsuspensefor the same reason.All three changes are pure removals — no new prose added, since
useQuery.mdandhydration.mdare reused by Vue viaref:and unreviewed prose there risks being wrong for Vue's suspense model.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit