Skip to content

Commit 13df3ce

Browse files
committed
Add note on installing via @7
1 parent e0361ff commit 13df3ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/upgrading/v6.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ npm install react-router-dom@7
279279

280280
Your app should continue to work but you'll get console warnings for importing from "react-router-dom". In v7 you can import everything directly from `"react-router"`.
281281

282+
_Note: If you have issues with the above command, you may need to use the full `7.0.0-pre.N` version number because package managers may not always resolve `@7` to a prerelease since there is no stable 7.x release yet._
283+
282284
👉 **Uninstall react-router-dom, install react-router**
283285

284286
```shellscript nonumber

0 commit comments

Comments
 (0)