docs(react-query/useQuery): document 'throwOnError' default and its absence in suspense hooks - #11156
docs(react-query/useQuery): document 'throwOnError' default and its absence in suspense hooks#11156sukvvon wants to merge 1 commit into
Conversation
…bsence in suspense hooks
|
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 (1)
📝 WalkthroughWalkthroughThe ChangesReact query documentation
Estimated code review effort: 1 (Trivial) | ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 14e17a0
☁️ 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 📦
|
Summary
Optional/Defaults tofalse`` to thethrowOnErroroption, matching the documentation pattern used by other options (`subscribed`, `refetchOnMount`, `refetchOnWindowFocus`)useSuspenseQueryand other suspense hooks do not accept this option, linking to the existing default behavior documented in the Suspense guideSummary by CodeRabbit
throwOnErroris optional and defaults tofalse.