How can I show Devtools in production? #2444
Unanswered
DerJacques
asked this question in
Q&A
Replies: 1 comment
-
There’s this twitter thread: https://twitter.com/tannerlinsley/status/1392857647037091849 also a suggestion to make this somewhat official on the docs. If you like the solution or find a better one, I’d appreciate a PR to the docs |
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.
-
According to the docs and my experience, React Query Devtools are automatically hidden in production environments.
Before the Devtool was merged into the main repo, the docs contained a note saying that this could be circumvented by importing the Devtool directly via
react-query/dist/react-query-devtools.production.min.js
.Unfortunately, this doesn't work with the latest version of React Query and TypeScript, since no module definition exists for this import.
Do you know if there is any other way to enable the Devtools in production?
Beta Was this translation helpful? Give feedback.
All reactions