We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ab31b8 + 4a0e06b commit 94e39efCopy full SHA for 94e39ef
package.json
@@ -5,7 +5,8 @@
5
"main": "src/htmltojsx.js",
6
"bin": "src/cli.js",
7
"dependencies": {
8
- "react": "~0.14.6",
+ "react": "~15.4.1",
9
+ "react-dom": "~15.4.1",
10
"yargs": "~4.6.0",
11
"jsdom-no-contextify": "~3.1.0"
12
},
src/htmltojsx.js
@@ -35,7 +35,7 @@ var ELEMENT_ATTRIBUTE_MAPPING = {
35
}
36
};
37
38
-var HTMLDOMPropertyConfig = require('react/lib/HTMLDOMPropertyConfig');
+var HTMLDOMPropertyConfig = require('react-dom/lib/HTMLDOMPropertyConfig');
39
40
// Populate property map with ReactJS's attribute and property mappings
41
// TODO handle/use .Properties value eg: MUST_USE_PROPERTY is not HTML attr
0 commit comments