Skip to content

Commit

Permalink
note about needing root routes, maybe change this?
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Jun 20, 2014
1 parent 78a275c commit d6b7e22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ var Router = ReactRouter.Router;
var Route = Router.Route;
var Link = Router.Link;
// note that you always need a root route like `App` here
Router(
<Route handler={App}>
<Route name="about" handler={About}/>
Expand Down

0 comments on commit d6b7e22

Please sign in to comment.