Skip to content

Instantly share code, notes, and snippets.

@burczu
Created February 17, 2016 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burczu/275ca8dbee8c863c897e to your computer and use it in GitHub Desktop.
Save burczu/275ca8dbee8c863c897e to your computer and use it in GitHub Desktop.
ReactDOM.render(
<Router history={browserHistory}>
<Route path="/" component={App}>
<Route path="about" component={About}/>
<Route path="users" component={Users}>
<Route path="/user/:userId" component={User}/>
</Route>
<Route path="*" component={NoMatch}/>
</Route>
</Router>, document.getElementById('app'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment