How to use Chrome Extension React Query Devtools #9291
Answered
by
dborysov
nickstaroba
asked this question in
Q&A
-
To use TanStack Query DevTools, add this line to your application: window.TANSTACK_QUERY_CLIENT = queryClient Where? If this is added where QueryClientProvider is located, TypeScript has issues. How is this added to TypeScript React application? |
Beta Was this translation helpful? Give feedback.
Answered by
dborysov
Jun 20, 2025
Replies: 2 comments 2 replies
-
after you’ve created the queryClient?
|
Beta Was this translation helpful? Give feedback.
2 replies
-
@dborysov FYI |
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
That's actually a good point. I will add a link from chrome store to the github. This process might take a couple of days, but I expect it to be published somewhere on Tuesday. I will also update the setup instructions in the extension itself.
But for now, there are 2 ways how you can fix it with Typescript:
either
or create
global.d.ts
with the following content:I personally try to avoid
any
by all means, but maybe in this case it's not too terrible