Skip to content

Instantly share code, notes, and snippets.

@aminbenselim
Created March 26, 2017 21:12
Show Gist options
  • Save aminbenselim/d16933c56cd05136a99405469d04071b to your computer and use it in GitHub Desktop.
Save aminbenselim/d16933c56cd05136a99405469d04071b to your computer and use it in GitHub Desktop.
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