Skip to content

Instantly share code, notes, and snippets.

@kimmobrunfeldt
Created December 25, 2016 00:05
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 kimmobrunfeldt/990436a1905a5ed238fcc6f5e588e1d2 to your computer and use it in GitHub Desktop.
Save kimmobrunfeldt/990436a1905a5ed238fcc6f5e588e1d2 to your computer and use it in GitHub Desktop.
Example of react-router configuration
<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