updated react version in the counter to React 0.14

This commit is contained in:
Toni Ristola 2015-12-19 15:56:46 +02:00
parent eeee2954bf
commit 1568cb0e1d
4 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,7 @@ export default class App extends Component {
return (
<div>
<Provider store={store}>
{() => <CounterApp />}
<CounterApp />
</Provider>
<DebugPanel top right bottom>
<DevTools store={store}

View File

@ -1,7 +1,8 @@
import React from 'react';
import ReactDOM from 'react-dom';
import App from './containers/App';
React.render(
ReactDOM.render(
<App />,
document.getElementById('root')
);

View File

@ -16,7 +16,7 @@
},
"homepage": "https://github.com/gaearon/redux-devtools#readme",
"dependencies": {
"react": "^0.13.3",
"react": "^0.14.0",
"react-redux": "^3.0.0",
"redux": "^3.0.0",
"redux-thunk": "^1.0.0"

View File

@ -1,4 +1,5 @@
import React, { PropTypes, findDOMNode, Component } from 'react';
import React, { PropTypes, Component } from 'react';
import { findDOMNode } from 'react-dom';
import LogMonitorEntry from './LogMonitorEntry';
import LogMonitorButton from './LogMonitorButton';
import * as themes from './themes';