Skip to content

Instantly share code, notes, and snippets.

@Haegin
Created January 20, 2016 15:16
Show Gist options
  • Save Haegin/213583df0b4055fecd84 to your computer and use it in GitHub Desktop.
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
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