mirror of
https://github.com/react/react.git
synced 2026-10-06 11:51:20 +08:00
This avoids strict mode conflicts for certain browsers wrt functions being defined within an if-block. Also re-added the if-DEV condition for the ReactNative renderer since it was removed for this reason.