diff --git a/package.json b/package.json
index b8e618cf6b7111..7e819d7d333d44 100644
--- a/package.json
+++ b/package.json
@@ -197,14 +197,14 @@
"random-seed": "0.3.0",
"react": "18.2.0",
"react-17": "npm:react@17.0.2",
- "react-builtin": "npm:react@18.3.0-next-6eadbe0c4-20230425",
- "react-experimental-builtin": "npm:react@0.0.0-experimental-6eadbe0c4-20230425",
+ "react-builtin": "npm:react@18.3.0-next-5dd90c562-20230502",
+ "react-experimental-builtin": "npm:react@0.0.0-experimental-5dd90c562-20230502",
"react-dom": "18.2.0",
"react-dom-17": "npm:react-dom@17.0.2",
- "react-dom-builtin": "npm:react-dom@18.3.0-next-6eadbe0c4-20230425",
- "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-6eadbe0c4-20230425",
- "react-server-dom-webpack": "18.3.0-next-6eadbe0c4-20230425",
- "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-6eadbe0c4-20230425",
+ "react-dom-builtin": "npm:react-dom@18.3.0-next-5dd90c562-20230502",
+ "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-5dd90c562-20230502",
+ "react-server-dom-webpack": "18.3.0-next-5dd90c562-20230502",
+ "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-5dd90c562-20230502",
"react-ssr-prepass": "1.0.8",
"react-virtualized": "9.22.3",
"relay-compiler": "13.0.2",
@@ -215,8 +215,8 @@
"rimraf": "3.0.2",
"sass": "1.54.0",
"satori": "0.4.4",
- "scheduler-builtin": "npm:scheduler@0.24.0-next-6eadbe0c4-20230425",
- "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-6eadbe0c4-20230425",
+ "scheduler-builtin": "npm:scheduler@0.24.0-next-5dd90c562-20230502",
+ "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-5dd90c562-20230502",
"seedrandom": "3.0.5",
"selenium-webdriver": "4.0.0-beta.4",
"semver": "7.3.7",
diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js
index 0a4609978b1be5..7577536820c21c 100644
--- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js
+++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
var React = require("next/dist/compiled/react-experimental");
var ReactDOM = require('react-dom');
-var ReactVersion = '18.3.0-experimental-6eadbe0c4-20230425';
+var ReactVersion = '18.3.0-experimental-5dd90c562-20230502';
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -1827,6 +1827,16 @@ function describeDifferencesForPreinitOverScript(newProps, currentProps) {
return description;
}
+// same object across all transitions.
+
+var sharedNotPendingObject = {
+ pending: false,
+ data: null,
+ method: null,
+ action: null
+};
+var NotPending = Object.freeze(sharedNotPendingObject) ;
+
var ReactDOMSharedInternals = ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
var ReactDOMCurrentDispatcher = ReactDOMSharedInternals.Dispatcher;
@@ -1865,6 +1875,7 @@ var startInlineScript = stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1899,7 +1910,7 @@ function createResponseState$1(identifierPrefix, nonce, bootstrapScriptContent,
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1906,7 +1917,7 @@ function createResponseState$1(identifierPrefix, nonce, bootstrapScriptContent,
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1979,7 +1990,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1979,7 +1990,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -2047,7 +2058,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1979,7 +1990,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1979,7 +1990,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -2048,7 +2059,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1871,7 +1872,7 @@ function createResponseState$1(identifierPrefix, nonce, bootstrapScriptContent,
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1878,7 +1879,7 @@ function createResponseState$1(identifierPrefix, nonce, bootstrapScriptContent,
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1952,7 +1953,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -1952,7 +1953,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('');
var startScriptSrc = stringToPrecomputedChunk('');
/**
@@ -2020,7 +2021,7 @@ function createResponseState(identifierPrefix, nonce, bootstrapScriptContent, bo
var idPrefix = identifierPrefix === undefined ? '' : identifierPrefix;
var inlineScriptWithNonce = nonce === undefined ? startInlineScript : stringToPrecomputedChunk('