daily pastebin goal
25%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Top