Repository navigation
fix(solid-query/useMutationState): recompute the result when the filters or the 'queryClient' change - #12231
fix(solid-query/useMutationState): recompute the result when the filters or the 'queryClient' change#12231sukvvon wants to merge 10 commits into
Conversation
…ers or the 'queryClient' change
🦋 Changeset detectedLatest commit: a484f50 The changes in this PR will be included in the next version bump. This PR includes changesets to release 26 packages
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 |
|
View your CI Pipeline Execution ↗ for commit 0884e76
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview3 package(s) bumped directly, 23 bumped as dependents. 🟩 Patch bumps
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
size-limit report 📦
|
…utation-state-recompute-on-change
…utation-state-recompute-on-change # Conflicts: # packages/solid-query/src/__tests__/useMutationState.test.tsx
…utation-state-recompute-on-change
# Conflicts: # packages/solid-query/src/__tests__/useMutationState.test.tsx
🎯 Changes
useMutationStatecomputed its result once and afterwards only on mutation cache events, so changing thefilters(orselect) or thequeryClientkept returning the previous result until the next mutation event.replaceEqualDeep.queryClient.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit
Bug Fixes
useMutationStateresults so they reflect changes to filters or the supplied query client.Tests