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). https://github.com/vercel/next.js/pull/65058 is required reading to understand the changes in this PR --------- Co-authored-by:Zack Tanner <1939140+ztanner@users.noreply.github.com>
Showing
| ... | ... | @@ -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:react@17.0.2", | ||
| "react-builtin": "npm:react@19.0.0-rc-7771d3a7-20240827", | ||
| "react-dom": "19.0.0-rc-7771d3a7-20240827", | ||
| "react-dom": "18.3.1", | ||
| "react-dom-17": "npm:react-dom@17.0.2", | ||
| "react-dom-builtin": "npm:react-dom@19.0.0-rc-7771d3a7-20240827", | ||
| "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-7771d3a7-20240827", | ||
| ... | ... | @@ -269,10 +269,10 @@ |
| "@babel/traverse": "7.22.5", | ||
| "@types/react": "npm:types-react@19.0.0-rc.0", | ||
| "@types/react-dom": "npm:types-react-dom@19.0.0-rc.0", | ||
| "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": { | ||
| "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch" | ||
| ... | ... |
This diff is collapsed.
This diff is collapsed.
Please
register
or
sign in
to comment