forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensures `useMemoCache` is available for the React Compiler. Required for vercel#65804 without having to manually enable experimental React through e.g. taint: true. <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # --> --------- Co-authored-by: Jiachi Liu <[email protected]>
- Loading branch information
1 parent
d1cf9e9
commit 0b4ba76
Showing
117 changed files
with
2,450 additions
and
1,685 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
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 |
---|---|---|
|
@@ -120,6 +120,7 @@ | |
"alex": "9.1.0", | ||
"amphtml-validator": "1.0.35", | ||
"async-sema": "3.0.1", | ||
"babel-plugin-react-compiler": "0.0.0-experimental-c23de8d-20240515", | ||
"browserslist": "4.22.2", | ||
"buffer": "5.6.0", | ||
"cheerio": "0.22.0", | ||
|
@@ -196,17 +197,17 @@ | |
"pretty-bytes": "5.3.0", | ||
"pretty-ms": "7.0.0", | ||
"random-seed": "0.3.0", | ||
"react": "19.0.0-beta-4508873393-20240430", | ||
"react": "19.0.0-beta-04b058868c-20240508", | ||
"react-17": "npm:[email protected]", | ||
"react-builtin": "npm:[email protected]4508873393-20240430", | ||
"react-dom": "19.0.0-beta-4508873393-20240430", | ||
"react-builtin": "npm:[email protected]04b058868c-20240508", | ||
"react-dom": "19.0.0-beta-04b058868c-20240508", | ||
"react-dom-17": "npm:[email protected]", | ||
"react-dom-builtin": "npm:[email protected]4508873393-20240430", | ||
"react-dom-builtin": "npm:[email protected]04b058868c-20240508", | ||
"react-dom-experimental-builtin": "npm:[email protected]", | ||
"react-experimental-builtin": "npm:[email protected]", | ||
"react-server-dom-turbopack": "19.0.0-beta-4508873393-20240430", | ||
"react-server-dom-turbopack": "19.0.0-beta-04b058868c-20240508", | ||
"react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-4508873393-20240430", | ||
"react-server-dom-webpack": "19.0.0-beta-4508873393-20240430", | ||
"react-server-dom-webpack": "19.0.0-beta-04b058868c-20240508", | ||
"react-server-dom-webpack-experimental": "npm:[email protected]", | ||
"react-ssr-prepass": "1.0.8", | ||
"react-virtualized": "9.22.3", | ||
|
@@ -252,9 +253,9 @@ | |
"@babel/traverse": "7.22.5", | ||
"@types/react": "18.2.74", | ||
"@types/react-dom": "18.2.23", | ||
"react": "19.0.0-beta-4508873393-20240430", | ||
"react-dom": "19.0.0-beta-4508873393-20240430", | ||
"react-is": "19.0.0-beta-4508873393-20240430", | ||
"react": "19.0.0-beta-04b058868c-20240508", | ||
"react-dom": "19.0.0-beta-04b058868c-20240508", | ||
"react-is": "19.0.0-beta-04b058868c-20240508", | ||
"scheduler": "0.25.0-beta-94eed63c49-20240425" | ||
}, | ||
"engines": { | ||
|
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.