Skip to content

Commit 4abf7a2

Browse files
committed
Update bug report template for eslint plugin label (facebook#34959)
## Summary When creating facebook#34957, I noticed a reference to `eslint-plugin-react-compiler` instead of `eslint-plugin-react-hooks`. Since the former is merged into the latter (facebook#32416, facebook#34228), I have decided to update the issue template to avoid confusion. DiffTrain build for [5a2205b](facebook@5a2205b)
1 parent e3debdc commit 4abf7a2

37 files changed

+4266
-3262
lines changed

compiled/facebook-www/REVISION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8f8b336734d7c807f5aa11b0f31540e63302d789
1+
5a2205ba28a02596461187eecdffd066075d8685
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8f8b336734d7c807f5aa11b0f31540e63302d789
1+
5a2205ba28a02596461187eecdffd066075d8685

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ __DEV__ &&
14991499
exports.useTransition = function () {
15001500
return resolveDispatcher().useTransition();
15011501
};
1502-
exports.version = "19.3.0-www-classic-8f8b3367-20251104";
1502+
exports.version = "19.3.0-www-classic-5a2205ba-20251105";
15031503
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15041504
"function" ===
15051505
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
@@ -1499,7 +1499,7 @@ __DEV__ &&
14991499
exports.useTransition = function () {
15001500
return resolveDispatcher().useTransition();
15011501
};
1502-
exports.version = "19.3.0-www-modern-8f8b3367-20251104";
1502+
exports.version = "19.3.0-www-modern-5a2205ba-20251105";
15031503
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
15041504
"function" ===
15051505
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
@@ -606,4 +606,4 @@ exports.useSyncExternalStore = function (
606606
exports.useTransition = function () {
607607
return ReactSharedInternals.H.useTransition();
608608
};
609-
exports.version = "19.3.0-www-classic-8f8b3367-20251104";
609+
exports.version = "19.3.0-www-classic-5a2205ba-20251105";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,4 +606,4 @@ exports.useSyncExternalStore = function (
606606
exports.useTransition = function () {
607607
return ReactSharedInternals.H.useTransition();
608608
};
609-
exports.version = "19.3.0-www-modern-8f8b3367-20251104";
609+
exports.version = "19.3.0-www-modern-5a2205ba-20251105";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.3.0-www-classic-8f8b3367-20251104";
613+
exports.version = "19.3.0-www-classic-5a2205ba-20251105";
614614
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
615615
"function" ===
616616
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
@@ -610,7 +610,7 @@ exports.useSyncExternalStore = function (
610610
exports.useTransition = function () {
611611
return ReactSharedInternals.H.useTransition();
612612
};
613-
exports.version = "19.3.0-www-modern-8f8b3367-20251104";
613+
exports.version = "19.3.0-www-modern-5a2205ba-20251105";
614614
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
615615
"function" ===
616616
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

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

Lines changed: 104 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -5469,6 +5469,19 @@ __DEV__ &&
54695469
shellBoundary === fiber && (shellBoundary = null);
54705470
pop(suspenseStackCursor, fiber);
54715471
}
5472+
function pushSuspenseListContext(fiber, newContext) {
5473+
push(
5474+
suspenseHandlerStackCursor,
5475+
suspenseHandlerStackCursor.current,
5476+
fiber
5477+
);
5478+
push(suspenseStackCursor, newContext, fiber);
5479+
}
5480+
function popSuspenseListContext(fiber) {
5481+
pop(suspenseStackCursor, fiber);
5482+
pop(suspenseHandlerStackCursor, fiber);
5483+
shellBoundary === fiber && (shellBoundary = null);
5484+
}
54725485
function findFirstSuspended(row) {
54735486
for (var node = row; null !== node; ) {
54745487
if (13 === node.tag) {
@@ -7356,6 +7369,7 @@ __DEV__ &&
73567369
switch (returnFiber.tag) {
73577370
case 31:
73587371
case 13:
7372+
case 19:
73597373
return (
73607374
null === shellBoundary
73617375
? renderDidSuspendDelayIfPossible()
@@ -8733,7 +8747,7 @@ __DEV__ &&
87338747
(renderLanes.markerInstances = current)))),
87348748
bailoutOffscreenComponent(null, nextProps)
87358749
);
8736-
if ("number" === typeof nextProps.unstable_expectedLoadTime)
8750+
if (!0 === nextProps.defer)
87378751
return (
87388752
reuseSuspenseHandlerOnStack(workInProgress),
87398753
mountSuspenseFallbackChildren(
@@ -9106,15 +9120,17 @@ __DEV__ &&
91069120
revealOrder = nextProps.revealOrder,
91079121
tailMode = nextProps.tail;
91089122
nextProps = nextProps.children;
9109-
var suspenseContext = suspenseStackCursor.current,
9110-
shouldForceFallback = 0 !== (suspenseContext & ForceSuspenseFallback);
9123+
var suspenseContext = suspenseStackCursor.current;
9124+
if (workInProgress.flags & 128)
9125+
return pushSuspenseListContext(workInProgress, suspenseContext), null;
9126+
var shouldForceFallback = 0 !== (suspenseContext & ForceSuspenseFallback);
91119127
shouldForceFallback
91129128
? ((suspenseContext =
91139129
(suspenseContext & SubtreeSuspenseContextMask) |
91149130
ForceSuspenseFallback),
91159131
(workInProgress.flags |= 128))
91169132
: (suspenseContext &= SubtreeSuspenseContextMask);
9117-
push(suspenseStackCursor, suspenseContext, workInProgress);
9133+
pushSuspenseListContext(workInProgress, suspenseContext);
91189134
suspenseContext = null == revealOrder ? "null" : revealOrder;
91199135
if (
91209136
null != revealOrder &&
@@ -9443,6 +9459,12 @@ __DEV__ &&
94439459
pushPrimaryTreeSuspenseHandler(workInProgress);
94449460
break;
94459461
case 19:
9462+
if (workInProgress.flags & 128)
9463+
return updateSuspenseListComponent(
9464+
current,
9465+
workInProgress,
9466+
renderLanes
9467+
);
94469468
var didSuspendBefore = 0 !== (current.flags & 128);
94479469
stateNode = 0 !== (renderLanes & workInProgress.childLanes);
94489470
stateNode ||
@@ -9467,11 +9489,7 @@ __DEV__ &&
94679489
((didSuspendBefore.rendering = null),
94689490
(didSuspendBefore.tail = null),
94699491
(didSuspendBefore.lastEffect = null));
9470-
push(
9471-
suspenseStackCursor,
9472-
suspenseStackCursor.current,
9473-
workInProgress
9474-
);
9492+
pushSuspenseListContext(workInProgress, suspenseStackCursor.current);
94759493
if (stateNode) break;
94769494
else return null;
94779495
case 22:
@@ -10620,13 +10638,13 @@ __DEV__ &&
1062010638
null
1062110639
);
1062210640
case 19:
10623-
pop(suspenseStackCursor, workInProgress);
10624-
instance = workInProgress.memoizedState;
10625-
if (null === instance) return bubbleProperties(workInProgress), null;
10626-
newProps = 0 !== (workInProgress.flags & 128);
10627-
_cache = instance.rendering;
10641+
popSuspenseListContext(workInProgress);
10642+
newProps = workInProgress.memoizedState;
10643+
if (null === newProps) return bubbleProperties(workInProgress), null;
10644+
instance = 0 !== (workInProgress.flags & 128);
10645+
_cache = newProps.rendering;
1062810646
if (null === _cache)
10629-
if (newProps) cutOffTailIfNeeded(instance, !1);
10647+
if (instance) cutOffTailIfNeeded(newProps, !1);
1063010648
else {
1063110649
if (
1063210650
workInProgressRootExitStatus !== RootInProgress ||
@@ -10636,7 +10654,7 @@ __DEV__ &&
1063610654
_cache = findFirstSuspended(current);
1063710655
if (null !== _cache) {
1063810656
workInProgress.flags |= 128;
10639-
cutOffTailIfNeeded(instance, !1);
10657+
cutOffTailIfNeeded(newProps, !1);
1064010658
current = _cache.updateQueue;
1064110659
workInProgress.updateQueue = current;
1064210660
scheduleRetryEffect(workInProgress, current);
@@ -10649,72 +10667,90 @@ __DEV__ &&
1064910667
)
1065010668
resetWorkInProgress(renderLanes, current),
1065110669
(renderLanes = renderLanes.sibling);
10652-
push(
10653-
suspenseStackCursor,
10670+
pushSuspenseListContext(
10671+
workInProgress,
1065410672
(suspenseStackCursor.current &
1065510673
SubtreeSuspenseContextMask) |
10656-
ForceSuspenseFallback,
10657-
workInProgress
10674+
ForceSuspenseFallback
1065810675
);
1065910676
return workInProgress.child;
1066010677
}
1066110678
current = current.sibling;
1066210679
}
10663-
null !== instance.tail &&
10680+
null !== newProps.tail &&
1066410681
now$1() > workInProgressRootRenderTargetTime &&
1066510682
((workInProgress.flags |= 128),
10666-
(newProps = !0),
10667-
cutOffTailIfNeeded(instance, !1),
10683+
(instance = !0),
10684+
cutOffTailIfNeeded(newProps, !1),
1066810685
(workInProgress.lanes = 4194304));
1066910686
}
1067010687
else {
10671-
if (!newProps)
10688+
if (!instance)
1067210689
if (((current = findFirstSuspended(_cache)), null !== current)) {
1067310690
if (
1067410691
((workInProgress.flags |= 128),
10675-
(newProps = !0),
10692+
(instance = !0),
1067610693
(current = current.updateQueue),
1067710694
(workInProgress.updateQueue = current),
1067810695
scheduleRetryEffect(workInProgress, current),
10679-
cutOffTailIfNeeded(instance, !0),
10680-
null === instance.tail &&
10681-
"collapsed" !== instance.tailMode &&
10682-
"visible" !== instance.tailMode &&
10696+
cutOffTailIfNeeded(newProps, !0),
10697+
null === newProps.tail &&
10698+
"collapsed" !== newProps.tailMode &&
10699+
"visible" !== newProps.tailMode &&
1068310700
!_cache.alternate)
1068410701
)
1068510702
return bubbleProperties(workInProgress), null;
1068610703
} else
10687-
2 * now$1() - instance.renderingStartTime >
10704+
2 * now$1() - newProps.renderingStartTime >
1068810705
workInProgressRootRenderTargetTime &&
1068910706
536870912 !== renderLanes &&
1069010707
((workInProgress.flags |= 128),
10691-
(newProps = !0),
10692-
cutOffTailIfNeeded(instance, !1),
10708+
(instance = !0),
10709+
cutOffTailIfNeeded(newProps, !1),
1069310710
(workInProgress.lanes = 4194304));
10694-
instance.isBackwards
10711+
newProps.isBackwards
1069510712
? ((_cache.sibling = workInProgress.child),
1069610713
(workInProgress.child = _cache))
10697-
: ((current = instance.last),
10714+
: ((current = newProps.last),
1069810715
null !== current
1069910716
? (current.sibling = _cache)
1070010717
: (workInProgress.child = _cache),
10701-
(instance.last = _cache));
10718+
(newProps.last = _cache));
10719+
}
10720+
if (null !== newProps.tail) {
10721+
current = newProps.tail;
10722+
a: {
10723+
for (renderLanes = current; null !== renderLanes; ) {
10724+
if (null !== renderLanes.alternate) {
10725+
renderLanes = !1;
10726+
break a;
10727+
}
10728+
renderLanes = renderLanes.sibling;
10729+
}
10730+
renderLanes = !0;
10731+
}
10732+
newProps.rendering = current;
10733+
newProps.tail = current.sibling;
10734+
newProps.renderingStartTime = now$1();
10735+
current.sibling = null;
10736+
_cache = suspenseStackCursor.current;
10737+
_cache = instance
10738+
? (_cache & SubtreeSuspenseContextMask) | ForceSuspenseFallback
10739+
: _cache & SubtreeSuspenseContextMask;
10740+
"visible" !== newProps.tailMode &&
10741+
"collapsed" !== newProps.tailMode &&
10742+
renderLanes
10743+
? ((renderLanes = _cache),
10744+
push(
10745+
suspenseHandlerStackCursor,
10746+
workInProgress,
10747+
workInProgress
10748+
),
10749+
push(suspenseStackCursor, renderLanes, workInProgress),
10750+
null === shellBoundary && (shellBoundary = workInProgress))
10751+
: pushSuspenseListContext(workInProgress, _cache);
10752+
return current;
1070210753
}
10703-
if (null !== instance.tail)
10704-
return (
10705-
(current = instance.tail),
10706-
(instance.rendering = current),
10707-
(instance.tail = current.sibling),
10708-
(instance.renderingStartTime = now$1()),
10709-
(current.sibling = null),
10710-
(renderLanes = suspenseStackCursor.current),
10711-
(renderLanes = newProps
10712-
? (renderLanes & SubtreeSuspenseContextMask) |
10713-
ForceSuspenseFallback
10714-
: renderLanes & SubtreeSuspenseContextMask),
10715-
push(suspenseStackCursor, renderLanes, workInProgress),
10716-
current
10717-
);
1071810754
bubbleProperties(workInProgress);
1071910755
return null;
1072010756
case 21:
@@ -10867,7 +10903,18 @@ __DEV__ &&
1086710903
workInProgress)
1086810904
: null;
1086910905
case 19:
10870-
return pop(suspenseStackCursor, workInProgress), null;
10906+
return (
10907+
popSuspenseListContext(workInProgress),
10908+
(current = workInProgress.flags),
10909+
current & 65536
10910+
? ((workInProgress.flags = (current & -65537) | 128),
10911+
(current = workInProgress.memoizedState),
10912+
null !== current &&
10913+
((current.rendering = null), (current.tail = null)),
10914+
(workInProgress.flags |= 4),
10915+
workInProgress)
10916+
: null
10917+
);
1087110918
case 4:
1087210919
return popHostContainer(workInProgress), null;
1087310920
case 10:
@@ -10931,7 +10978,7 @@ __DEV__ &&
1093110978
popSuspenseHandler(interruptedWork);
1093210979
break;
1093310980
case 19:
10934-
pop(suspenseStackCursor, interruptedWork);
10981+
popSuspenseListContext(interruptedWork);
1093510982
break;
1093610983
case 10:
1093710984
popProvider(interruptedWork.type, interruptedWork);
@@ -15249,7 +15296,8 @@ __DEV__ &&
1524915296
case RootFatalErrored:
1525015297
throw Error("Root did not complete. This is a bug in React.");
1525115298
case RootSuspendedWithDelay:
15252-
if ((lanes & 4194048) !== lanes) break;
15299+
if ((lanes & 4194048) !== lanes && (lanes & 62914560) !== lanes)
15300+
break;
1525315301
case RootSuspendedAtTheShell:
1525415302
enableComponentPerformanceTrack &&
1525515303
(setCurrentTrackFromLanes(lanes),
@@ -20393,10 +20441,10 @@ __DEV__ &&
2039320441
(function () {
2039420442
var internals = {
2039520443
bundleType: 1,
20396-
version: "19.3.0-www-classic-8f8b3367-20251104",
20444+
version: "19.3.0-www-classic-5a2205ba-20251105",
2039720445
rendererPackageName: "react-art",
2039820446
currentDispatcherRef: ReactSharedInternals,
20399-
reconcilerVersion: "19.3.0-www-classic-8f8b3367-20251104"
20447+
reconcilerVersion: "19.3.0-www-classic-5a2205ba-20251105"
2040020448
};
2040120449
internals.overrideHookState = overrideHookState;
2040220450
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20431,7 +20479,7 @@ __DEV__ &&
2043120479
exports.Shape = Shape;
2043220480
exports.Surface = Surface;
2043320481
exports.Text = Text;
20434-
exports.version = "19.3.0-www-classic-8f8b3367-20251104";
20482+
exports.version = "19.3.0-www-classic-5a2205ba-20251105";
2043520483
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2043620484
"function" ===
2043720485
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)