React query devtools
Hello,
Why does the query number in the devtools turning black mean?
As you can see in the screenshot attached, the "tournaments" query number is black

3 Replies
like-gold•4y ago
Looks like a bug 😀
generous-apricotOP•4y ago
Is it a bug on my side?
This only happens when i try to invalidate the query and programmatically navigate to another page after having fired a mutation
The interesting thing is that when i called the exact same query in the same page where i'm firing the mutation. It got invalidated properly
like-gold•4y ago
no, a bug in the devtools. I think we compute the text color from the background color to have good contrast. for some reason, we think the background color is light (probably stale, yellow), so we choose black as text color
if you can isolate it in a codesandbox, please raise an issue