T
TanStack3y ago
judicial-coral

React Native useRefreshOnFocus constantly triggering

Does anyone know what would cause useRefreshOnFocus to constantly trigger over and over again when viewing a screen on my app? https://tanstack.com/query/latest/docs/react/react-native#refresh-on-screen-focus
React Native | TanStack Query Docs
React Query is designed to work out of the box with React Native, with the exception of the devtools, which are only supported with React DOM at this time. There is a 3rd party Flipper plugin which you can try: https://github.com/bgaleotti/react-query-native-devtools
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?