Tree-Shaking is applicable for modules that can be statically analyzed (to get a complete dependency tree without running code) - and this is ONLY for ES2015 modules and NOT CommonJS (node).
react, react-dom, (react@15.4.x), ES2015. -
import { render } from "react-dom";
import ReactDOM from "react-dom";
react-dom . react , CommonJS UMD.