Closed vinceprofeta closed 8 years ago
react
is just peerDepencency, because you can have custom build or any version.
And react-dom
from my point of view is not necessary. You can have custom renderer (react-native react-svg or whatever). You can use this library without it and your application should decide what to do with that.
It is necessary
Module not found: Error: Cannot resolve module 'react-dom' in /home/joe/www/frontend/node_modules/react-iscroll/dist
Offending line in dist:
var iScrollInstance = new iScroll(_reactDom2['default'].findDOMNode(this), options);
@josephfinlayson My bad!
Is there a reason react-dom is not included in the package JSON? When I try to build my project react-dom is missing.