Re:PSA: React 18 calls code twice in strict dev mode to dete...
by joshribakoff on Sunday April 10, 2022 @10:51PM
(#30984044)
I haven’t seen anything about devtools altering runtime semantics but I may be wrong, that is something I think I disagree with because of the possibility to have bugs that go away when trying to debug
Here's the code that turns off `console.log`: https://github.com/facebook/react/blob/b8cfda15e1232554487c7...