Created
December 25, 2016 00:05
-
-
Save kimmobrunfeldt/990436a1905a5ed238fcc6f5e588e1d2 to your computer and use it in GitHub Desktop.
Example of react-router configuration
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
<Router history={browserHistory}> | |
<Route path=”/” component={App}> | |
<Route path=”users” component={Users}> | |
<Route path=”/user/:userId” component={User}/> | |
</Route> | |
<Route path=”*” component={NoMatch}/> | |
</Route> | |
</Router> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment