Skip to content

Commit

Permalink
Update async example to React 0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Oct 15, 2015
1 parent f76ca22 commit c576070
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions examples/async/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import 'babel-core/polyfill';
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import App from './containers/App';
import configureStore from './store/configureStore';

const store = configureStore();

React.render(
render(
<Provider store={store}>
{() => <App />}
<App />
</Provider>,
document.getElementById('root')
);
5 changes: 3 additions & 2 deletions examples/async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
"homepage": "http://rackt.github.io/redux",
"dependencies": {
"isomorphic-fetch": "^2.1.1",
"react": "^0.13.3",
"react-redux": "^2.1.2",
"react": "^0.14.0",
"react-dom": "^0.14.0",
"react-redux": "^4.0.0",
"redux": "^3.0.0",
"redux-logger": "^2.0.2",
"redux-thunk": "^0.1.0"
Expand Down

0 comments on commit c576070

Please sign in to comment.