Skip to content

Commit 3e42591

Browse files
authored
Merge pull request facebook#12242 from yamankatby/patch-1
Update adding-a-router.md
2 parents 810e126 + a7a30f8 commit 3e42591

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docusaurus/docs/adding-a-router.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ id: adding-a-router
33
title: Adding a Router
44
---
55

6-
Create React App doesn't prescribe a specific routing solution, but [React Router](https://reacttraining.com/react-router/web/) is the most popular one.
6+
Create React App doesn't prescribe a specific routing solution, but [React Router](https://reactrouter.com/) is the most popular one.
77

88
To add it, run:
99

1010
```sh
11-
npm install --save react-router-dom
11+
npm install react-router-dom
1212
```
1313

1414
Alternatively you may use `yarn`:
@@ -17,6 +17,6 @@ Alternatively you may use `yarn`:
1717
yarn add react-router-dom
1818
```
1919

20-
To try it, delete all the code in `src/App.js` and replace it with any of the examples on its website. The [Basic Example](https://reacttraining.com/react-router/web/example/basic) is a good place to get started.
20+
To try it, delete all the code in `src/App.js` and replace it with any of the examples on its website. The [Basic Example](https://reactrouter.com/docs/examples/basic) is a good place to get started.
2121

2222
Note that [you may need to configure your production server to support client-side routing](deployment.md#serving-apps-with-client-side-routing) before deploying your app.

0 commit comments

Comments
 (0)