Enable Devtools only in development mode? #2381
-
Is there a reason why Devtools is only disabled on production mode, instead of enabling it only on development mode? What brings me this question, is that my team had an issue with it being a part of our tests snapshots and generating a bunch of warnings, so we had to verify it manually to display on |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
mode === development
ormode !== production
mostly mean the same thing to me and most users of the library, but I can see howmode = testing
would present issues with the latter. I would entertain this PR for sure.