Replies: 1 comment 1 reply
-
Did you determine what was causing this? I am noticing the same thing. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I call
setQueryData
before calling the mutation, it updates faster than callingsetQueryData
insideonMutate
in react-query react-native, can anybody explains to me why this is happening?2024-05-05.22.47.01.mp4
2024-05-05.22.46.58.mp4
You can notice the update is happing immediately in the first screen record when calling
setQueryData
before calling the mutation, but in the second screen record, I'm calling setQueryData insideonMutate
Beta Was this translation helpful? Give feedback.
All reactions