Created
December 5, 2017 01:46
-
-
Save rafaellucio/c411876e781d6ac626888790a58f7aa4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| import { Provider } from 'react-redux' | |
| import { createStore } from 'redux' | |
| import CounterContainer from './Counter.container' | |
| function reducer() { | |
| return { | |
| count: 42 | |
| } | |
| } | |
| const store = createStore(reducer) | |
| const App = () => ( | |
| <Provider store={store}> | |
| <CounterContainer /> | |
| </Provider> | |
| ) | |
| export default App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment