Skip to content

Commit

Permalink
Basic provider explanation and link
Browse files Browse the repository at this point in the history
Also see: reduxjs#397
  • Loading branch information
peteruithoven committed Aug 5, 2015
1 parent 2a08009 commit 9bca276
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/todomvc/containers/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const store = createStore(reducer);
export default class App extends Component {
render() {
return (
// Provider makes our store instance available to the components below. Also see:
// http://gaearon.github.io/redux/docs/basics/UsageWithReact.html#connecting-to-redux
<Provider store={store}>
{() => <TodoApp /> }
</Provider>
Expand Down

0 comments on commit 9bca276

Please sign in to comment.