Skip to content

Commit 39e4e7b

Browse files
committed
Add getRootNode to fragment instances (#32682)
This implements `getRootNode(options)` on fragment instances as the equivalent of calling `getRootNode` on the fragment's parent host node. The parent host instance will also be used to proxy dispatchEvent in an upcoming PR. DiffTrain build for [04bf10e](04bf10e)
1 parent ac9e62b commit 39e4e7b

34 files changed

Lines changed: 1096 additions & 850 deletions

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c61e75b76d5ff6707ad75c8beb777e721d982207
1+
04bf10e6a9526ea2600005a714c957c47dd8551d
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c61e75b76d5ff6707ad75c8beb777e721d982207
1+
04bf10e6a9526ea2600005a714c957c47dd8551d

compiled/facebook-www/React-dev.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ __DEV__ &&
15371537
exports.useTransition = function () {
15381538
return resolveDispatcher().useTransition();
15391539
};
1540-
exports.version = "19.1.0-www-classic-c61e75b7-20250324";
1540+
exports.version = "19.1.0-www-classic-04bf10e6-20250324";
15411541
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15421542
"function" ===
15431543
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ __DEV__ &&
15371537
exports.useTransition = function () {
15381538
return resolveDispatcher().useTransition();
15391539
};
1540-
exports.version = "19.1.0-www-modern-c61e75b7-20250324";
1540+
exports.version = "19.1.0-www-modern-04bf10e6-20250324";
15411541
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15421542
"function" ===
15431543
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
641641
exports.useTransition = function () {
642642
return ReactSharedInternals.H.useTransition();
643643
};
644-
exports.version = "19.1.0-www-classic-c61e75b7-20250324";
644+
exports.version = "19.1.0-www-classic-04bf10e6-20250324";

compiled/facebook-www/React-prod.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,4 +641,4 @@ exports.useSyncExternalStore = function (
641641
exports.useTransition = function () {
642642
return ReactSharedInternals.H.useTransition();
643643
};
644-
exports.version = "19.1.0-www-modern-c61e75b7-20250324";
644+
exports.version = "19.1.0-www-modern-04bf10e6-20250324";

compiled/facebook-www/React-profiling.classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
645645
exports.useTransition = function () {
646646
return ReactSharedInternals.H.useTransition();
647647
};
648-
exports.version = "19.1.0-www-classic-c61e75b7-20250324";
648+
exports.version = "19.1.0-www-classic-04bf10e6-20250324";
649649
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
650650
"function" ===
651651
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ exports.useSyncExternalStore = function (
645645
exports.useTransition = function () {
646646
return ReactSharedInternals.H.useTransition();
647647
};
648-
exports.version = "19.1.0-www-modern-c61e75b7-20250324";
648+
exports.version = "19.1.0-www-modern-04bf10e6-20250324";
649649
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
650650
"function" ===
651651
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18483,10 +18483,10 @@ __DEV__ &&
1848318483
(function () {
1848418484
var internals = {
1848518485
bundleType: 1,
18486-
version: "19.1.0-www-classic-c61e75b7-20250324",
18486+
version: "19.1.0-www-classic-04bf10e6-20250324",
1848718487
rendererPackageName: "react-art",
1848818488
currentDispatcherRef: ReactSharedInternals,
18489-
reconcilerVersion: "19.1.0-www-classic-c61e75b7-20250324"
18489+
reconcilerVersion: "19.1.0-www-classic-04bf10e6-20250324"
1849018490
};
1849118491
internals.overrideHookState = overrideHookState;
1849218492
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18520,7 +18520,7 @@ __DEV__ &&
1852018520
exports.Shape = Shape;
1852118521
exports.Surface = Surface;
1852218522
exports.Text = Text;
18523-
exports.version = "19.1.0-www-classic-c61e75b7-20250324";
18523+
exports.version = "19.1.0-www-classic-04bf10e6-20250324";
1852418524
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1852518525
"function" ===
1852618526
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18255,10 +18255,10 @@ __DEV__ &&
1825518255
(function () {
1825618256
var internals = {
1825718257
bundleType: 1,
18258-
version: "19.1.0-www-modern-c61e75b7-20250324",
18258+
version: "19.1.0-www-modern-04bf10e6-20250324",
1825918259
rendererPackageName: "react-art",
1826018260
currentDispatcherRef: ReactSharedInternals,
18261-
reconcilerVersion: "19.1.0-www-modern-c61e75b7-20250324"
18261+
reconcilerVersion: "19.1.0-www-modern-04bf10e6-20250324"
1826218262
};
1826318263
internals.overrideHookState = overrideHookState;
1826418264
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18292,7 +18292,7 @@ __DEV__ &&
1829218292
exports.Shape = Shape;
1829318293
exports.Surface = Surface;
1829418294
exports.Text = Text;
18295-
exports.version = "19.1.0-www-modern-c61e75b7-20250324";
18295+
exports.version = "19.1.0-www-modern-04bf10e6-20250324";
1829618296
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1829718297
"function" ===
1829818298
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)