Skip to content
Discussion options

You must be logged in to vote

Hmm I think we "lost" this feature when moving devtools from the dedicated repo to this repo. We had this code before:

if (process.env.NODE_ENV === 'production') {
  module.exports = {
    ReactQueryDevtools: function() {return null;},
    ReactQueryDevtoolsPanel: function() {return null;},
  }
} else {
  module.exports = require('./dist/react-query-devtools.development.js')
}

but I can't find this anywhere now. I think we need an issue, or even better, a PR to fix it :)

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@tannerlinsley
Comment options

@tannerlinsley
Comment options

@Belco90
Comment options

@TkDodo
Comment options

@TimoVink
Comment options

Answer selected by TimoVink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants