Describe the bug#
Once a build is created, the isPending prop from the useMutation hook stops working. No loading is indicated.
Your minimal, reproducible example#
No point, it works in an expo snack
Steps to reproduce#
- Create an expo app
- Add a mutation
- Add an ActivityIndicator to indicate the isPending prop being true
- Test it in development
- Create a build
- Test it in a build
Expected behavior#
I expect it to work the same for dev and in the build.
How often does this bug happen?#
Every time
Screenshots or Videos#
No response
Platform#
Tanstack Query adapter#
None
TanStack Query version#
^5.65.1
TypeScript version#
^5.3.3
Additional context#
No response
I think that this also messed up my file upload mutation progress bar indicator which broke a few weeks ago, if that helps.