mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
3484cc280c
We should never use any logic beyond declarations in the module scope,
including conditions, because in a cycle that can lead to problems.
More importantly, the compiler can't safely reorder statements between
these points which limits the optimizations we can do.
DiffTrain build for commit 62e6c4612e.