-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React-Native useMutation: Promise/hook not returning #11271
Comments
Thanks for the bug report! This could be related to a React-Native specific timing bug that we are fixing in #11252. We will release a 3.8.5 with the bugfix in the next few days. Once that's out, could you please try it out and report back? If that doesn't fix the issue, please create that minimal reproduction. |
Thanks for your feedback. I'll check once your fix is deployed and then revert back. |
+1 able to replicate |
Issue was solved with release 3.8.5. Thanks a lot! |
Two bugs with one stone - great 🎉 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue Description
When GraphQL errors occur in my useMutation hooks in react-native, then the hook does not return.
Two comments:
Here is my use of the mutation hook:
Error reported by onError link:
Package.json:
Additional comment: I was previously on graphql version 16 and had the same issue
Link to Reproduction
Please have a first look. If my comments are not helpful enough I'll try to build a minimal reproduction.
Reproduction Steps
No response
The text was updated successfully, but these errors were encountered: