Skip to content

Commit

Permalink
Merge pull request reduxjs#961 from psimyn/bump_cart_deps
Browse files Browse the repository at this point in the history
update Shopping Cart example to 0.14
  • Loading branch information
omnidan committed Oct 27, 2015
2 parents 5e9cdf8 + f11ad20 commit 59610f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions examples/shopping-cart/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from 'react';
import { render } from 'react-dom';
import { createStore, applyMiddleware } from 'redux';
import { Provider } from 'react-redux';
import logger from 'redux-logger';
Expand All @@ -16,9 +17,9 @@ const store = createStoreWithMiddleware(reducer);

store.dispatch(getAllProducts());

React.render(
render(
<Provider store={store}>
{() => <App />}
<App />
</Provider>,
document.getElementById('root')
);
7 changes: 4 additions & 3 deletions examples/shopping-cart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
},
"homepage": "http://rackt.github.io/redux",
"dependencies": {
"react": "^0.13.3",
"react-redux": "^3.0.1",
"redux": "^3.0.2",
"react": "^0.14.0",
"react-dom": "^0.14.0",
"react-redux": "^4.0.0",
"redux": "^3.0.4",
"redux-thunk": "^1.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit 59610f0

Please sign in to comment.