-
I have a query that is failing from time to time for reasons I can't control and in development the expected behavior of retrying is working but when I build a production build with QueryClient:
Hook definition:
Hook in use:
I have also tried manually calling manually calling refetch on a timeout and this works:
Also, when the page is unfocused and then refocused, the query immediately retries and works. Is there something different with the production react build that I'm missing or has anyone seen this before? Any tips would be greatly appreciated!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
not that i know of. I also don’t see anything wrong with your code on first glance. Can you make a create-react-app repo that I can clone and have a look at that shows the issue? |
Beta Was this translation helpful? Give feedback.
not that i know of. I also don’t see anything wrong with your code on first glance. Can you make a create-react-app repo that I can clone and have a look at that shows the issue?