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

Add prerequisite sections to a few places #12559

Merged
merged 5 commits into from
Dec 16, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -321,3 +321,4 @@
- yuleicul
- zeromask1337
- zheng-chuang
- knownasilya
11 changes: 11 additions & 0 deletions docs/start/framework/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ order: 1

# Installation

<docs-info>

React Router v7 requires the following minimum versions:

- `node@20`
- `react@18`
- `react-dom@18`

</docs-info>

Most projects start with a template. Let's use a basic template maintained by React Router:
Most projects start with a template. Let's use a basic template maintained by React Router:

```shellscript nonumber
Expand Down
10 changes: 10 additions & 0 deletions docs/start/library/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ order: 1

# Installation

<docs-info>

React Router v7 requires the following minimum versions:

- `node@20`
- `react@18`
- `react-dom@18`

</docs-info>

You can start with a React template from Vite and choose "React", otherwise bootstrap your application however you prefer.

```shellscript nonumber
Expand Down
10 changes: 10 additions & 0 deletions docs/upgrading/remix.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ order: 2

# Upgrading from Remix

<docs-info>

React Router v7 requires the following minimum versions:

- `node@20`
- `react@18`
- `react-dom@18`

</docs-info>

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).

If you have enabled all [Remix v2 future flags][v2-future-flags], upgrading from Remix v2 to React Router v7 mainly involves updating dependencies.
Expand Down
10 changes: 10 additions & 0 deletions docs/upgrading/v6.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ order: 1

# Upgrading from v6

<docs-info>

React Router v7 requires the following minimum versions:

- `node@20`
- `react@18`
- `react-dom@18`

</docs-info>

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.

## Update to latest v6.x
Expand Down
Loading