Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from 'react'
import { Provider } from 'react-redux'
import store from './store'
import saga from './sagas/'
import Main from './layouts/main'
import { sagaMiddleware } from './middleware'
const App = () => (
<Provider store={store}>
<Main />
</Provider>
)
export default App
sagaMiddleware.run(saga)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment