Created
March 26, 2017 21:12
-
-
Save aminbenselim/d16933c56cd05136a99405469d04071b to your computer and use it in GitHub Desktop.
This file contains 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 ReactDOM from 'react-dom'; | |
import { Provider } from 'react-redux'; | |
import { Router, browserHistory } from 'react-router'; | |
import routes from './routes'; | |
import configureStore from './store/configureStore.js'; | |
const store = configureStore({}); | |
ReactDOM.render( | |
<Provider store={store}> | |
<Router history={browserHistory} routes={routes} /> | |
</Provider> | |
,document.getElementById('main')); | |
export default store; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment