Added compatibility for react 0.14

This commit is contained in:
Chris
2015-10-12 07:57:40 +02:00
parent 5d46050bbb
commit 4e4993e5b5
6 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
require('normalize.css');
require('styles/App.css');
import React from 'react/addons';
import React from 'react';
let yeomanImage = require('../images/yeoman.png');
+2 -1
View File
@@ -1,5 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './Main';
// Render the main component into the dom
React.render(<App />, document.getElementById('app'));
ReactDOM.render(<App />, document.getElementById('app'));