docs(vue-query/reference): hide React-only 'React.use()' mention from useInfiniteQuery - #11203
Conversation
… useInfiniteQuery
|
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 (2)
Included review availability: Your plan includes up to 10 reviews per rolling hour; 9 remain after this review. 📝 WalkthroughWalkthroughAdded ChangesuseInfiniteQuery documentation markers
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This documentation-only change hides a React-specific note from the Vue reference page while preserving the React page; no actionable merge-blocking risk remains after normal checks and review. 🚥 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 d8fce1e
☁️ 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
Wraps the
React.use()mention inuseInfiniteQuery.md'spromisereturn-value description in a[//]: # 'ReactUse'marker pair (same mechanism already used byhydration.mdfor theHydrationBoundarysection, and byinitial-query-data.mdfor itsExample2/Example3/Example4code blocks — including the indented-list-item form).useInfiniteQuery.mdis reused by Vue viaref:.React.use()is a React 19-only API with no Vue equivalent, and this line currently renders verbatim on the live Vue reference page (confirmed attanstack.com/query/latest/docs/framework/vue/reference/useInfiniteQuery). Adding an empty marker pair of the same name to Vue'suseInfiniteQuery.mdstrips the line from Vue's rendered page while leaving React's own page unchanged (the marker is a Markdown comment).✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit
useInfiniteQueryreference pages.