<p dir="auto">It's noted on the docs pages at <a href="https://reactjs.org/docs/strict-mode.html" rel="nofollow">https://reactjs.org/docs/strict-mode.html</a></p>
<p dir="auto">react-dom currently disables/mutates the global console in strict mode.</p>
<p dir="auto">This seems to be an intentional feature/bug that's an unnecessary inconvenience.</p>
<p dir="auto">React version: 17.0.1</p>
<h2 dir="auto">Steps To Reproduce</h2>
<ol dir="auto">
<li>Use react-dom in strict mode</li>
<li>Try to log something</li>
</ol>
<h2 dir="auto">The current behavior</h2>
<p dir="auto">logging is disabled in strict-mode</p>
<h2 dir="auto">The expected behavior</h2>
<p dir="auto">Possible better solutions:</p>
<ul dir="auto">
<li>Make it more obvious that the console is being mutated/disabled</li>
<li>Use a proxy</li>
</ul>
<p dir="auto">Describe what you were doing when the bug occurred:</p>
<ol dir="auto">
<li>Recorded activity using profiler tool.</li>
<li>Navigated to ranked tab.</li>
<li>Error message displayed.</li>
</ol>
<hr>
<h2 dir="auto">Please do not remove the text below this line</h2>
<p dir="auto">DevTools version: 4.8.1-d4eadea6c</p>
<p dir="auto">Component stack: Wl@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:347075<br>
div<br>
div<br>
div<br>
Eo@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:267242<br>
$c&lt;@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:371653<br>
n@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:280167<br>
ra/&lt;@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:282951<br>
div<br>
div<br>
Ji@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:330056<br>
Ge@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:209982<br>
sn@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:219298<br>
Wa@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:298042<br>
ps@moz-extension://11647b02-2c4c-4d9c-945f-5dde85fa8015/build/main.js:40:376893</p>