Skip to content

Commit ab3a99e

Browse files
committed
update react
1 parent 6619849 commit ab3a99e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"postcss-modules-extract-imports": "^1.0.0",
4040
"postcss-modules-local-by-default": "^1.0.0",
4141
"postcss-modules-scope": "^1.0.0",
42-
"react": "^0.13.3",
42+
"react": "^0.14.1",
43+
"react-dom": "^0.14.1",
4344
"watchify": "^3.2.2"
4445
},
4546
"browserify": {

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import React from 'react';
2+
import ReactDOM from 'react-dom';
23

34
import App from './components/App';
45

56
if (typeof document !== 'undefined') {
6-
React.render(<App />, document.getElementById('outlet'));
7+
ReactDOM.render(<App />, document.getElementById('outlet'));
78
}
89

910
export default App;

0 commit comments

Comments
 (0)