s/getRootNode/ownerDocument (#28412)

getRootNode isn't always available, use ownerDocument instead

DiffTrain build for commit https://github.com/facebook/react/commit/e4b816ba1a1ea7c1874cf3f82dd841830b71341a.
This commit is contained in:
rickhanlonii
2024-02-22 19:57:40 +00:00
parent 9fac9d7d69
commit d6c9dcc402
7 changed files with 9 additions and 9 deletions
@@ -25707,7 +25707,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "18.3.0-canary-288cf747c-20240222";
var ReactVersion = "18.3.0-canary-e4b816ba1-20240222";
// Might add PROFILE later.
@@ -9171,7 +9171,7 @@ var devToolsConfig$jscomp$inline_1014 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-288cf747c-20240222",
version: "18.3.0-canary-e4b816ba1-20240222",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1195 = {
@@ -9202,7 +9202,7 @@ var internals$jscomp$inline_1195 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-288cf747c-20240222"
reconcilerVersion: "18.3.0-canary-e4b816ba1-20240222"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1196 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9599,7 +9599,7 @@ var devToolsConfig$jscomp$inline_1056 = {
throw Error("TestRenderer does not support findFiberByHostInstance()");
},
bundleType: 0,
version: "18.3.0-canary-288cf747c-20240222",
version: "18.3.0-canary-e4b816ba1-20240222",
rendererPackageName: "react-test-renderer"
};
var internals$jscomp$inline_1236 = {
@@ -9630,7 +9630,7 @@ var internals$jscomp$inline_1236 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-canary-288cf747c-20240222"
reconcilerVersion: "18.3.0-canary-e4b816ba1-20240222"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1237 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -24,7 +24,7 @@ if (__DEV__) {
) {
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
}
var ReactVersion = "18.3.0-canary-288cf747c-20240222";
var ReactVersion = "18.3.0-canary-e4b816ba1-20240222";
// ATTENTION
// When adding new symbols to this file,
@@ -600,4 +600,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-288cf747c-20240222";
exports.version = "18.3.0-canary-e4b816ba1-20240222";
@@ -596,7 +596,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-canary-288cf747c-20240222";
exports.version = "18.3.0-canary-e4b816ba1-20240222";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
288cf747c96cea278a6ddce126ce7a0484678afd
e4b816ba1a1ea7c1874cf3f82dd841830b71341a