-
I know this is a very vague question, but I'm at my wit's end. I'm creating tests for an app using puppeteer and there is a possibly, but unlikely, react-query issue that I only encounter in headless mode. The issue is that even though the query keys change, the query function is not triggered. I have traced the issue down to the useQuery hook, where I can see the logs of a render happening with new keys, but no logs of the query function being triggered. If anyone has any ideas where I could set additional logging within the library code to help me figure out the missing link, it would be very appreciated. Sadly due to the nature of the code I'm writing I am unable to share it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It runs so fast in headless mode that all caching needs to be disabled, all makes sense now. |
Beta Was this translation helpful? Give feedback.
It runs so fast in headless mode that all caching needs to be disabled, all makes sense now.