Can setTimeout
and setInterval
react violations which are caused by TanStack Query be ignored?
#7833
Unanswered
ChristopherHaws
asked this question in
Q&A
Replies: 3 comments
-
I have the same question. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue on my side. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Could a solution be to use webworkers? But that sounds like too much for just fetching data... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been receiving many react violation warnings in local dev. To figure out where they were coming from I hooked into
window.setTimeout
to log a stack trace when the callback takes longer than 50ms and it seems like the culprit is TanStack Query. Is it safe to ignore these warnings?This is the code I used to hook into
setTimeout
:Beta Was this translation helpful? Give feedback.
All reactions