Use react@17 for useSyncExternalStore shim tests (#28055)

The tests for the shim need to test with ReactDOM.render in React 17.

DiffTrain build for commit https://github.com/facebook/react/commit/ee1eb4826f4f7beb4e06f2c15f03145bb5bddf5b.
This commit is contained in:
rickhanlonii
2024-01-24 16:33:06 +00:00
parent 381550ee00
commit 573c95d434
7 changed files with 9 additions and 9 deletions
@@ -25540,7 +25540,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "18.3.0-canary-6480eea15-20240124";
var ReactVersion = "18.3.0-canary-ee1eb4826-20240124";
// Might add PROFILE later.
@@ -9122,7 +9122,7 @@ var devToolsConfig$jscomp$inline_1037 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-6480eea15-20240124",
version: "18.3.0-canary-ee1eb4826-20240124",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1230 = {
@@ -9153,7 +9153,7 @@ var internals$jscomp$inline_1230 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-6480eea15-20240124"
reconcilerVersion: "18.3.0-canary-ee1eb4826-20240124"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1231 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9550,7 +9550,7 @@ var devToolsConfig$jscomp$inline_1079 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-6480eea15-20240124",
version: "18.3.0-canary-ee1eb4826-20240124",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1271 = {
@@ -9581,7 +9581,7 @@ var internals$jscomp$inline_1271 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-6480eea15-20240124"
reconcilerVersion: "18.3.0-canary-ee1eb4826-20240124"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1272 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-canary-6480eea15-20240124";
var ReactVersion = "18.3.0-canary-ee1eb4826-20240124";
// ATTENTION
// When adding new symbols to this file,
@@ -539,4 +539,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-6480eea15-20240124";
exports.version = "18.3.0-canary-ee1eb4826-20240124";
@@ -535,7 +535,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-6480eea15-20240124";
exports.version = "18.3.0-canary-ee1eb4826-20240124";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
6480eea157b033996a11264ae34993e2305833e8
ee1eb4826f4f7beb4e06f2c15f03145bb5bddf5b