@@ -72,20 +72,6 @@ __DEV__ &&
7272 function shouldErrorImpl() {
7373 return null;
7474 }
75- function findHostInstancesForRefresh(root, families) {
76- var hostInstances = new Set();
77- families = new Set(
78- families.map(function (family) {
79- return family.current;
80- })
81- );
82- findHostInstancesForMatchingFibersRecursively(
83- root.current,
84- families,
85- hostInstances
86- );
87- return hostInstances;
88- }
8975 function scheduleRoot(root, element) {
9076 root.context === emptyContextObject &&
9177 (updateContainerSync(element, root, null, null), flushSyncWork());
@@ -13964,83 +13950,6 @@ __DEV__ &&
1396413950 staleFamilies
1396513951 );
1396613952 }
13967- function findHostInstancesForMatchingFibersRecursively(
13968- fiber,
13969- types,
13970- hostInstances
13971- ) {
13972- var child = fiber.child,
13973- sibling = fiber.sibling,
13974- type = fiber.type,
13975- candidateType = null;
13976- switch (fiber.tag) {
13977- case 0:
13978- case 15:
13979- case 1:
13980- candidateType = type;
13981- break;
13982- case 11:
13983- candidateType = type.render;
13984- }
13985- type = !1;
13986- null !== candidateType && types.has(candidateType) && (type = !0);
13987- if (type)
13988- a: {
13989- b: for (child = fiber, candidateType = !1; ; ) {
13990- if (5 === child.tag || 26 === child.tag)
13991- (candidateType = !0), hostInstances.add(child.stateNode);
13992- else if (null !== child.child) {
13993- child.child.return = child;
13994- child = child.child;
13995- continue;
13996- }
13997- if (child === fiber) {
13998- child = candidateType;
13999- break b;
14000- }
14001- for (; null === child.sibling; ) {
14002- if (null === child.return || child.return === fiber) {
14003- child = candidateType;
14004- break b;
14005- }
14006- child = child.return;
14007- }
14008- child.sibling.return = child.return;
14009- child = child.sibling;
14010- }
14011- if (!child)
14012- for (;;) {
14013- switch (fiber.tag) {
14014- case 27:
14015- case 5:
14016- hostInstances.add(fiber.stateNode);
14017- break a;
14018- case 4:
14019- hostInstances.add(fiber.stateNode.containerInfo);
14020- break a;
14021- case 3:
14022- hostInstances.add(fiber.stateNode.containerInfo);
14023- break a;
14024- }
14025- if (null === fiber.return)
14026- throw Error("Expected to reach root first.");
14027- fiber = fiber.return;
14028- }
14029- }
14030- else
14031- null !== child &&
14032- findHostInstancesForMatchingFibersRecursively(
14033- child,
14034- types,
14035- hostInstances
14036- );
14037- null !== sibling &&
14038- findHostInstancesForMatchingFibersRecursively(
14039- sibling,
14040- types,
14041- hostInstances
14042- );
14043- }
1404413953 function FiberNode(tag, pendingProps, key, mode) {
1404513954 this.tag = tag;
1404613955 this.key = key;
@@ -16874,11 +16783,11 @@ __DEV__ &&
1687416783 (function () {
1687516784 var internals = {
1687616785 bundleType: 1,
16877- version: "19.0.0-www-classic-146df7c3 -20240730",
16786+ version: "19.0.0-www-classic-96f3093b -20240730",
1687816787 rendererPackageName: "react-art",
1687916788 currentDispatcherRef: ReactSharedInternals,
1688016789 findFiberByHostInstance: getInstanceFromNode,
16881- reconcilerVersion: "19.0.0-www-classic-146df7c3 -20240730"
16790+ reconcilerVersion: "19.0.0-www-classic-96f3093b -20240730"
1688216791 };
1688316792 internals.overrideHookState = overrideHookState;
1688416793 internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16889,7 +16798,6 @@ __DEV__ &&
1688916798 internals.scheduleUpdate = scheduleUpdate;
1689016799 internals.setErrorHandler = setErrorHandler;
1689116800 internals.setSuspenseHandler = setSuspenseHandler;
16892- internals.findHostInstancesForRefresh = findHostInstancesForRefresh;
1689316801 internals.scheduleRefresh = scheduleRefresh;
1689416802 internals.scheduleRoot = scheduleRoot;
1689516803 internals.setRefreshHandler = setRefreshHandler;
@@ -16913,7 +16821,7 @@ __DEV__ &&
1691316821 exports.Shape = Shape;
1691416822 exports.Surface = Surface;
1691516823 exports.Text = Text;
16916- exports.version = "19.0.0-www-classic-146df7c3 -20240730";
16824+ exports.version = "19.0.0-www-classic-96f3093b -20240730";
1691716825 "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1691816826 "function" ===
1691916827 typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
0 commit comments