refactor(preact-query/useQueries): remove unreachable 'willFetch' branch in suspense promise collection#10188
Conversation
…nch in suspense promise collection
🦋 Changeset detectedLatest commit: 9e12337 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughA changeset documents a patch release for Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit 9e12337
☁️ Nx Cloud last updated this comment at |
|
🎉 This PR has been released! Thank you for your contribution! |
🎯 Changes
Apply the same refactoring from #10082 to
preact-query. Remove the unreachablewillFetchbranch inuseQueries.tssuspense promise collection, sinceshouldSuspendalready covers the only reachable case.willFetchimport fromsuspenseoptsandshouldSuspendchecks✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit