Skip to content

Commit

Permalink
Merge pull request remix-run#766 from tom76kimo/master
Browse files Browse the repository at this point in the history
change way of composing for readability and maintenance
  • Loading branch information
ryanflorence committed Feb 4, 2015
2 parents 50da68a + 6c4dd3f commit 4fabfc3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/guides/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,11 @@ Here's how it works:

```js
var Router = require('react-router'); // or var Router = ReactRouter; in browsers
var Route = Router.Route, DefaultRoute = Router.DefaultRoute,
Link=Router.Link, RouteHandler = Router.RouteHandler;

var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var Route = Router.Route;
var RouteHandler = Router.RouteHandler;

var App = React.createClass({
render: function () {
Expand Down

0 comments on commit 4fabfc3

Please sign in to comment.