| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…d to prevent Suspense detach
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 3dbad87e-6426-4128-a636-b613e425c5a3 📥 CommitsReviewing files that changed from the base of the PR and between 2935182 and b7f0996. 📒 Files selected for processing (1)
📝 Walkthrough WalkthroughuseBaseQuery now validates the active subscription observer, conditionally refetches loading or error results, and reconciles other observer results through internal state updates. ChangesSolid Query subscriber flow
Estimated code review effort: 2 (Simple) | ~5 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
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. ❤️ ShareComment @coderabbitai help to get the list of available commands. |
Sorry, something went wrong.
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agentsVerify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. Inline comments: In `@packages/solid-query/src/useBaseQuery.ts`: - Around line 186-187: Update the refetch condition in useBaseQuery so settled error results do not trigger refetch(). Limit refetching to an active resolver or loading transition, while preserving the existing behavior for those states. - Around line 183-189: Update the queued callback in useBaseQuery to capture the subscription/observer generation associated with observerResult and apply or refetch only when that generation still matches the current subscription. Increment the generation whenever createClientSubscriber replaces the observer subscription, so results queued by a previous QueryObserver are ignored rather than updating current Solid state.
Fix all unresolved CodeRabbit comments on this PR:
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: d7563bbf-e5bf-4e75-8b3c-2a9c10596181
📥 CommitsReviewing files that changed from the base of the PR and between a3b0612 and 2935182.
📒 Files selected for processing (1)
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Resolves an issue in Solid Query where suspense detachment causes queries to fail or hang.
Summary by CodeRabbit