Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Add Comment
Please, Sign In to add comment