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 839a15e commit b997d07Copy full SHA for b997d07
packages/react-dom/src/client/ReactDOMClientFB.js
@@ -154,6 +154,8 @@ if (__DEV__) {
154
!foundDevTools &&
155
canUseDOM &&
156
window.top === window.self &&
157
+ // Allow suppressing this message via __REACT_DEVTOOLS_HIDE_CONSOLE__ in
158
+ // environments like CEP or nwjs where the DevTools extension cannot be installed.
159
typeof __REACT_DEVTOOLS_HIDE_CONSOLE__ === 'undefined'
160
) {
161
// If we're in Chrome or Firefox, provide a download link if not installed.
0 commit comments