Conversation
…utation' has no callbacks
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdded 326 lines of test cases to both React Query and Preact Query packages verifying Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
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 docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit a464def
☁️ 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 📦
|
🎯 Changes
useMutationcallback behavior whenuseMutationhas no hook-level callbacks in bothreact-queryandpreact-query:should call mutate callbacks when useMutation has no callbacks(onSuccess+onSettled)should call mutateAsync callbacks when useMutation has no callbacks(onSuccess+onSettled)should call mutate error callbacks when useMutation has no callbacks(onError+onSettled)should call mutateAsync error callbacks when useMutation has no callbacks(onError+onSettled)should call only mutate onSuccess when useMutation has no callbacksshould call only mutate onError when useMutation has no callbacksshould call only mutate onSettled when useMutation has no callbacksshould call only mutateAsync onSuccess when useMutation has no callbacksshould call only mutateAsync onError when useMutation has no callbacksshould call only mutateAsync onSettled when useMutation has no callbacks✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit
useMutationcallback execution across success, error, and combined callback scenarios in both React and Preact implementations.