Skip to content

Commit

Permalink
Use react@17 for useSyncExternalStore shim tests (#28055)
Browse files Browse the repository at this point in the history
The tests for the shim need to test with ReactDOM.render in React 17.

DiffTrain build for commit ee1eb48.
  • Loading branch information
rickhanlonii committed Jan 24, 2024
1 parent 381550e commit 573c95d
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6480eea157b033996a11264ae34993e2305833e8
ee1eb4826f4f7beb4e06f2c15f03145bb5bddf5b

0 comments on commit 573c95d

Please sign in to comment.