Guest User

Untitled

a guest
Dec 7th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. import React from 'react'
  2. import { Provider } from 'react-redux'
  3. import { createStore } from 'redux'
  4. import CounterContainer from './Counter.container'
  5.  
  6. function reducer() {
  7. return {
  8. count: 42
  9. }
  10. }
  11.  
  12. const store = createStore(reducer)
  13.  
  14. const App = () => (
  15. <Provider store={store}>
  16. <CounterContainer />
  17. </Provider>
  18. )
  19.  
  20. export default App
Add Comment
Please, Sign In to add comment