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-focusReact 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