Skip to content

Commit

Permalink
Convert ReactCompositeComponent to createRoot (#28099)
Browse files Browse the repository at this point in the history
Moves tests depending on legacy APIs to `ReactLegacyCompositeComponents`
and updates the rest.

DiffTrain build for commit 4c73da8.
  • Loading branch information
rickhanlonii committed Jan 29, 2024
1 parent b2fc9d3 commit 93c8e4a
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 @@ -25607,7 +25607,7 @@ if (__DEV__) {
return root;
}

var ReactVersion = "18.3.0-canary-61df8caa3-20240129";
var ReactVersion = "18.3.0-canary-4c73da8cb-20240129";

// Might add PROFILE later.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9149,7 +9149,7 @@ var devToolsConfig$jscomp$inline_1029 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-61df8caa3-20240129",
version: "18.3.0-canary-4c73da8cb-20240129",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1205 = {
Expand Down Expand Up @@ -9180,7 +9180,7 @@ var internals$jscomp$inline_1205 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-61df8caa3-20240129"
reconcilerVersion: "18.3.0-canary-4c73da8cb-20240129"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1206 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9577,7 +9577,7 @@ var devToolsConfig$jscomp$inline_1071 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-61df8caa3-20240129",
version: "18.3.0-canary-4c73da8cb-20240129",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1246 = {
Expand Down Expand Up @@ -9608,7 +9608,7 @@ var internals$jscomp$inline_1246 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-61df8caa3-20240129"
reconcilerVersion: "18.3.0-canary-4c73da8cb-20240129"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1247 = __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-61df8caa3-20240129";
var ReactVersion = "18.3.0-canary-4c73da8cb-20240129";

// ATTENTION
// When adding new symbols to this file,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -545,4 +545,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-61df8caa3-20240129";
exports.version = "18.3.0-canary-4c73da8cb-20240129";
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-61df8caa3-20240129";
exports.version = "18.3.0-canary-4c73da8cb-20240129";
"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 @@
61df8caa3b96a0395b550d8c2a3dca7269761d55
4c73da8cbdbd2493827f86ed1991c3770ecb9625

0 comments on commit 93c8e4a

Please sign in to comment.