react 16
hello, it seems some error when use with react 16. How can I fix this issue?
my useage: import HtmlToJsx from "htmltojsx";
and the following error occured:
./node_modules/htmltojsx/src/htmltojsx.js Module not found: Can't resolve 'react-dom/lib/HTMLDOMPropertyConfig' in '/Users/chenguanxi/Netease/CloudMusic/transform/node_modules/htmltojsx/src'
These dependencies were not found:
- react-dom/lib/HTMLDOMPropertyConfig in ./node_modules/htmltojsx/src/htmltojsx.js
- react-dom/lib/SVGDOMPropertyConfig in ./node_modules/htmltojsx/src/htmltojsx.js
To install them, you can run: npm install --save react-dom/lib/HTMLDOMPropertyConfig react-dom/lib/SVGDOMPropertyConfig
my react version: "react": "16.8.6", "react-dom": "16.8.6", "htmltojsx": "^0.3.0",
I don't think I'll have time to look into this... Would you like to send a pull request to update it?