Last active
          December 26, 2017 20:30 
        
      - 
      
 - 
        
Save rafaellucio/f455d00d16acf911afcf473a95a19a72 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' | |
| const initialState = { | |
| count: 0 | |
| }; | |
| function reducer(state = initialState, action) { | |
| return state | |
| } | |
| 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