Skip to content

Commit d778360

Browse files
rockymezatimdorr
authored andcommitted
Typo reat => react (#4412)
1 parent b98720c commit d778360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-router-website/modules/api/Installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
Route,
2020
Link
2121
// etc.
22-
} from 'reat-router-dom'
22+
} from 'react-router-dom'
2323
```
2424

2525
If you're going for a really minimal bundle sizes on the web you can import modules directly. Theoretically a tree-shaking bundler like Webpack makes this unnecessary but we haven't tested it yet. We welcome you to!
@@ -68,7 +68,7 @@ import {
6868
MemoryRouter as Router,
6969
Route
7070
// etc.
71-
} from 'reat-router'
71+
} from 'react-router'
7272
```
7373

7474
You can use React Router's navigation anywhere you run React, the navigation state is kept in a memory router. You can look at the implementation of NativeRouter to get an idea on how to integrate.

0 commit comments

Comments
 (0)