Skip to content

Commit c16f257

Browse files
Add prerequisite sections to a few places (#12559)
* Add prereqs to framework installation page * Add prereqs to library installation page * Add prereqs to upgrading from v6 page * Update contributors.yml * Move prerequisites to docs-info --------- Co-authored-by: Brooks Lybrand <[email protected]>
1 parent 5f40814 commit c16f257

File tree

5 files changed

+42
-0
lines changed

5 files changed

+42
-0
lines changed

contributors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,3 +321,4 @@
321321
- yuleicul
322322
- zeromask1337
323323
- zheng-chuang
324+
- knownasilya

docs/start/framework/installation.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ order: 1
55

66
# Installation
77

8+
<docs-info>
9+
10+
React Router v7 requires the following minimum versions:
11+
12+
- `node@20`
13+
- `react@18`
14+
- `react-dom@18`
15+
16+
</docs-info>
17+
18+
Most projects start with a template. Let's use a basic template maintained by React Router:
819
Most projects start with a template. Let's use a basic template maintained by React Router:
920

1021
```shellscript nonumber

docs/start/library/installation.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ order: 1
55

66
# Installation
77

8+
<docs-info>
9+
10+
React Router v7 requires the following minimum versions:
11+
12+
- `node@20`
13+
- `react@18`
14+
- `react-dom@18`
15+
16+
</docs-info>
17+
818
You can start with a React template from Vite and choose "React", otherwise bootstrap your application however you prefer.
919

1020
```shellscript nonumber

docs/upgrading/remix.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ order: 2
55

66
# Upgrading from Remix
77

8+
<docs-info>
9+
10+
React Router v7 requires the following minimum versions:
11+
12+
- `node@20`
13+
- `react@18`
14+
- `react-dom@18`
15+
16+
</docs-info>
17+
818
React Router v7 is the next major version of Remix after v2 (see our ["Incremental Path to React 19" blog post][incremental-path-to-react-19] for more information).
919

1020
If you have enabled all [Remix v2 future flags][v2-future-flags], upgrading from Remix v2 to React Router v7 mainly involves updating dependencies.

docs/upgrading/v6.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ order: 1
55

66
# Upgrading from v6
77

8+
<docs-info>
9+
10+
React Router v7 requires the following minimum versions:
11+
12+
- `node@20`
13+
- `react@18`
14+
- `react-dom@18`
15+
16+
</docs-info>
17+
818
The v7 upgrade has no breaking changes if you have enabled all future flags. These flags allow you to update your app one change at a time. We highly recommend you make a commit after each step and ship it instead of doing everything all at once.
919

1020
## Update to latest v6.x

0 commit comments

Comments
 (0)