Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lessons/06-params.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Consider the following urls:

```
/repos/rackt/react-router
/repos/reactjs/react-router
/repos/facebook/react
```

Expand Down Expand Up @@ -49,7 +49,6 @@ import Repo from './modules/Repo'
render((
<Router>
<Route path="/" component={App}>
<IndexRoute component={Home}/>
<Route path="/repos" component={Repos}/>
{/* add the new route */}
<Route path="/repos/:userName/:repoName" component={Repo}/>
Expand All @@ -73,7 +72,7 @@ export default React.createClass({

{/* add some links */}
<ul>
<li><Link to="/repos/rackt/react-router">React Router</Link></li>
<li><Link to="/repos/reactjs/react-router">React Router</Link></li>
<li><Link to="/repos/facebook/react">React</Link></li>
</ul>

Expand Down
4 changes: 2 additions & 2 deletions lessons/07-more-nesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ First, nest the `Repo` route under the `Repos` route. Then go render
<div>
<h2>Repos</h2>
<ul>
<li><Link to="/repos/rackt/react-router">React Router</Link></li>
<li><Link to="/repos/reactjs/react-router">React Router</Link></li>
<li><Link to="/repos/facebook/react">React</Link></li>
</ul>
{/* will render `Repo.js` when at /repos/:userName/:repoName */}
Expand All @@ -44,7 +44,7 @@ class name to these links:
import NavLink from './NavLink'

// ...
<li><NavLink to="/repos/rackt/react-router">React Router</NavLink></li>
<li><NavLink to="/repos/reactjs/react-router">React Router</NavLink></li>
// ...
```

Expand Down
2 changes: 1 addition & 1 deletion lessons/12-navigating.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default React.createClass({
<div>
<h2>Repos</h2>
<ul>
<li><NavLink to="/repos/rackt/react-router">React Router</NavLink></li>
<li><NavLink to="/repos/reactjs/react-router">React Router</NavLink></li>
<li><NavLink to="/repos/facebook/react">React</NavLink></li>
{/* add this form */}
<li>
Expand Down
4 changes: 2 additions & 2 deletions lessons/14-whats-next.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Thanks for sticking with this tutorial all the way to the end!

If you want to learn more:

1. Browse and run the [examples](https://github.com/rackt/react-router/tree/latest/examples)
- Read the [docs](https://github.com/rackt/react-router/tree/latest/docs)
1. Browse and run the [examples](https://github.com/reactjs/react-router/tree/latest/examples)
- Read the [docs](https://github.com/reactjs/react-router/tree/latest/docs)
- Read the source.

Happy routing!
Expand Down
2 changes: 1 addition & 1 deletion modules/Repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default React.createClass({
<div>
<h2>Repos</h2>
<ul>
<li><NavLink to="/repos/rackt/react-router">React Router</NavLink></li>
<li><NavLink to="/repos/reactjs/react-router">React Router</NavLink></li>
<li><NavLink to="/repos/facebook/react">React</NavLink></li>
<li>
<form onSubmit={this.handleSubmit}>
Expand Down