dillon1000/react

Commit

give `canUseDOM` with a possibility to be a constant (#14194)

https://webpack.js.org/plugins/define-plugin/

Webpack's DefinePlugin has the ability to replace `typeof expr` to a constant in compile-time, which should lead to better dead-code-elimination.
Browse files
Changed paths1 file
First-parent comparison
M packages/shared/ExecutionEnvironment.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…