Uh oh!
There was an error while loading. Please reload this page.
update usePrefetchQuery to use new methods, plus react adaptor tests - #10661
update usePrefetchQuery to use new methods, plus react adaptor tests#10661DogPawHat wants to merge 1 commit into
Conversation
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthrough
ChangesQuery execution and prefetch hooks
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant SuspenseComponent
participant QueryClient
participant QueryFunction
SuspenseComponent->>QueryClient: Start suspended query
SuspenseComponent->>QueryClient: Call query(options)
QueryClient->>QueryFunction: Reuse in-flight execution
QueryFunction-->>QueryClient: Resolve data
QueryClient-->>SuspenseComponent: Return resolved data
Possibly related PRs
Suggested reviewers: ✨ 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 f14663a
☁️ Nx Cloud last updated this comment at |
9ea80e3 to
cc234f4Comparec4a4e17 to
f14663aCompare235c170 to
8c1fe98Compare963e00b to
8ff94d3Compare8ff94d3 to
b355b48Compareb355b48 to
029bbc5Compare029bbc5 to
da40aadCompare0f9037b to
4c2a8e5Compare4c2a8e5 to
d5ae5bdCompare
🎯 Changes
Updates the react
usePrefetchQueryhook to use the newqueryandinfiniteQuerymethods. Adds docs and extra tests for the hooks and impertive methods as well.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit
New Features
usePrefetchQueryandusePrefetchInfiniteQueryto support the latest query execution options.Bug Fixes
Type Improvements
Documentation