We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3dbe42 commit 839a15eCopy full SHA for 839a15e
packages/react-dom/src/client/ReactDOMClient.js
@@ -58,6 +58,8 @@ if (__DEV__) {
58
!foundDevTools &&
59
canUseDOM &&
60
window.top === window.self &&
61
+ // Allow suppressing this message via __REACT_DEVTOOLS_HIDE_CONSOLE__ in
62
+ // environments like CEP or nwjs where the DevTools extension cannot be installed.
63
typeof __REACT_DEVTOOLS_HIDE_CONSOLE__ === 'undefined'
64
) {
65
// If we're in Chrome or Firefox, provide a download link if not installed.
0 commit comments