Last active
December 16, 2015 19:58
-
-
Save mobinni/828245d46efdf52bfa3b to your computer and use it in GitHub Desktop.
A Modern Isomorphic Stack with Redux - Part 1
This file contains hidden or 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
// Your main stylesheet | |
import '../styles/general/styles.scss'; | |
// Modules | |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import createBrowserHistory from 'history/lib/createBrowserHistory' | |
import Router from 'react-router'; | |
import routes from './routes'; | |
const history = createBrowserHistory(); | |
ReactDOM.render( | |
<Router history={history} | |
routes={routes}/>, | |
document.getElementById('root') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment