Skip to content

Commit

Permalink
readme formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Jul 22, 2014
1 parent 7c34101 commit fc6ae87
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ React.renderComponent((
), document.body);
```

Urls will be matched to the deepest route, and then all the routes up
- Urls will be matched to the deepest route, and then all the routes up
the hierarchy are activated and their "handlers" (normal React
components) will be rendered.

Each handler will receive a `params` property containing the matched
- Each handler will receive a `params` property containing the matched
parameters form the url, like `:userId`.

Handlers also receive a `query` prop equal to a dictionary of the
- Handlers also receive a `query` prop equal to a dictionary of the
current query params.

Parent routes will receive a `activeRoute` property. Its a function that
- Parent routes will receive a `activeRoute` property. Its a function that
will render the active child route handler.

Here's the rest of the application:
Expand Down

0 comments on commit fc6ae87

Please sign in to comment.