Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(getting-started): fix component links #9063

Merged
merged 2 commits into from Jul 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions contributors.yml
Expand Up @@ -73,3 +73,5 @@
- vikingviolinist
- xcsnowcity
- yuleicul
- goldins

4 changes: 2 additions & 2 deletions docs/getting-started/overview.md
Expand Up @@ -182,7 +182,7 @@ When the URL is `"/invoices/123"`, the component tree will be:
</App>
```

Notice the inner component that changed with the URL (`<SentInvoices>` and `<Invoice>`). The parent route (`<Invoices>`) is responsible for making sure the matching child route is rendered with [`<Outlet>`](../api.md#outlet). Here's the full example:
Notice the inner component that changed with the URL (`<SentInvoices>` and `<Invoice>`). The parent route (`<Invoices>`) is responsible for making sure the matching child route is rendered with [`<Outlet>`](../components/outlet.md). Here's the full example:

```tsx [18]
import { Routes, Route, Outlet } from "react-router-dom";
Expand Down Expand Up @@ -400,7 +400,7 @@ function App() {

## Multiple Sets of Routes

Although you should only ever have a single `<Router>` in an app, you may have as many [`<Routes>`](../api.md#routes) as you need, wherever you need them. Each `<Routes>` element operates independently of the others and picks a child route to render.
Although you should only ever have a single `<Router>` in an app, you may have as many [`<Routes>`](../components/routes.md) as you need, wherever you need them. Each `<Routes>` element operates independently of the others and picks a child route to render.

```tsx
function App() {
Expand Down