Created
February 17, 2016 08:16
-
-
Save burczu/275ca8dbee8c863c897e to your computer and use it in GitHub Desktop.
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
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