Skip to content

Instantly share code, notes, and snippets.

@blia
Created November 7, 2015 06:56
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 blia/82ef8f1dd0ff47777480 to your computer and use it in GitHub Desktop.
Save blia/82ef8f1dd0ff47777480 to your computer and use it in GitHub Desktop.
render((
<Router>
<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.body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment