Console Logging for StrictMode Double Rendering (#22030)
React currently suppress console logs in StrictMode during double rendering. However, this causes a lot of confusion. This PR moves the console suppression logic from React into React Devtools. Now by default, we no longer suppress console logs. Instead, we gray out the logs in console during double render. We also add a setting in React Devtools to allow developers to hide console logs during double render if they choose.
L
Luna Ruan committed
60a30cf32e1f974b82f0c7da9d8a03822e5b5208
Parent: 8456457
Committed by GitHub <noreply@github.com>
on 8/25/2021, 10:35:38 PM