T
TanStack2d ago
correct-apricot

isPending always true in react-native

I have a simple use case that it baffling me. In the latest expo 53, on iOS or Android simulators, a successfule query (returning data as shown with logging) is never updating the isPending status, never adds data to the query and never changes isSuccess or isError. The state of the query object never changes. I've checked that the query client is coming from an external module (so isn't being reset on re-render) and that the provider is wrapped around the app properly. The app uses expo-router, if that's relevant. Any help would be appreciated.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?