Skip to content

Commit

Permalink
Upgrade ReactDOMShorthandCSSPropertyCollision-test to createRoot (#27924
Browse files Browse the repository at this point in the history
)

Upgrade ReactDOMShorthandCSSPropertyCollision-test to createRoot

Using the codemod from #27921 as a starting point, this migrates the
test to `createRoot`.

DiffTrain build for commit 33068c9.
  • Loading branch information
kassens committed Jan 12, 2024
1 parent caf4532 commit cbb38c7
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 @@ -25531,7 +25531,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "18.3.0-canary-0ac3ea471-20240111";
var ReactVersion = "18.3.0-canary-33068c9db-20240112";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9121,7 +9121,7 @@ var devToolsConfig$jscomp$inline_1037 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-0ac3ea471-20240111",
version: "18.3.0-canary-33068c9db-20240112",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1230 = {
Expand Down Expand Up @@ -9152,7 +9152,7 @@ var internals$jscomp$inline_1230 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-0ac3ea471-20240111"
reconcilerVersion: "18.3.0-canary-33068c9db-20240112"
};
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 @@ -9549,7 +9549,7 @@ var devToolsConfig$jscomp$inline_1079 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-0ac3ea471-20240111",
version: "18.3.0-canary-33068c9db-20240112",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1271 = {
Expand Down Expand Up @@ -9580,7 +9580,7 @@ var internals$jscomp$inline_1271 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-0ac3ea471-20240111"
reconcilerVersion: "18.3.0-canary-33068c9db-20240112"
};
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-0ac3ea471-20240111";
var ReactVersion = "18.3.0-canary-33068c9db-20240112";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-0ac3ea471-20240111";
exports.version = "18.3.0-canary-33068c9db-20240112";
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-0ac3ea471-20240111";
exports.version = "18.3.0-canary-33068c9db-20240112";
"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 @@
0ac3ea471fbcb7d79bc7d36179e960c72c779e76
33068c9db9153a479bb29d138397cb9c32fabfdd

0 comments on commit cbb38c7

Please sign in to comment.