Created
January 20, 2016 15:16
-
-
Save Haegin/213583df0b4055fecd84 to your computer and use it in GitHub Desktop.
Gist to show the application.jsx that's having issues with react-router v1.0.3 with React 0.14
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 { render } from 'react-dom'; | |
import { Router, Route } from 'react-router'; | |
import App from './components/app.jsx'; | |
class Application extends React.Component { | |
render() { | |
<Router> | |
<Route path="/" component={App}></Route> | |
</Router> | |
} | |
} | |
render((<Application />), document.getElementById("container")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment