Is there a way to do a direct import of a module for the ReactDOM render method to minimize package size?
For example, this direct module import works for findDOMNode :
import findDOMNode from 'react-dom/lib/findDOMNode';
... but it is not:
import { render } from 'react-dom/lib/ReactMount';
source share