-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support React 18 in Pages Router (#69484)
Pages router (`/pages`) will continue to support React 18 not the React 19 RC. Current thinking is that we'll add support for React 19 in Pages Router once 19 is stable. This does not affect App Router (`/app`) which continues to use the latest React Canary (i.e. React 19). #65058 is required reading to understand the changes in this PR --------- Co-authored-by: Zack Tanner <[email protected]>
- Loading branch information
Showing
38 changed files
with
581 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -206,10 +206,10 @@ | |
"pretty-bytes": "5.3.0", | ||
"pretty-ms": "7.0.0", | ||
"random-seed": "0.3.0", | ||
"react": "19.0.0-rc-7771d3a7-20240827", | ||
"react": "18.3.1", | ||
"react-17": "npm:[email protected]", | ||
"react-builtin": "npm:[email protected]", | ||
"react-dom": "19.0.0-rc-7771d3a7-20240827", | ||
"react-dom": "18.3.1", | ||
"react-dom-17": "npm:[email protected]", | ||
"react-dom-builtin": "npm:[email protected]", | ||
"react-dom-experimental-builtin": "npm:[email protected]", | ||
|
@@ -269,10 +269,10 @@ | |
"@babel/traverse": "7.22.5", | ||
"@types/react": "npm:[email protected]", | ||
"@types/react-dom": "npm:[email protected]", | ||
"react": "19.0.0-rc-7771d3a7-20240827", | ||
"react-dom": "19.0.0-rc-7771d3a7-20240827", | ||
"react-is": "19.0.0-rc-7771d3a7-20240827", | ||
"scheduler": "0.25.0-rc-7771d3a7-20240827" | ||
"react": "18.3.1", | ||
"react-dom": "18.3.1", | ||
"react-is": "18.3.1", | ||
"scheduler": "0.23.2" | ||
}, | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.