mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove no-fallthrough lint suppressions (#26553)
This reverts commit 5f0684807e.
DiffTrain build for [6bb84216807f5386d8a83baf9ee464358a68c7bd](https://github.com/facebook/react/commit/6bb84216807f5386d8a83baf9ee464358a68c7bd)
This commit is contained in:
@@ -214,7 +214,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -260,8 +260,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -214,7 +214,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -260,8 +260,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
1ef9912cc096fa471019a54eff4999b36856288c
|
||||
6bb84216807f5386d8a83baf9ee464358a68c7bd
|
||||
|
||||
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-d31cfc1b";
|
||||
var ReactVersion = "18.3.0-www-classic-0ae2769a";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
@@ -543,7 +543,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -589,8 +589,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ if (
|
||||
}
|
||||
"use strict";
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-0b6784ca";
|
||||
var ReactVersion = "18.3.0-www-modern-d63670f9";
|
||||
|
||||
// ATTENTION
|
||||
// When adding new symbols to this file,
|
||||
@@ -543,7 +543,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -589,8 +589,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
|
||||
return self;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-38982954";
|
||||
var ReactVersion = "18.3.0-www-classic-afdf1f7f";
|
||||
|
||||
var LegacyRoot = 0;
|
||||
var ConcurrentRoot = 1;
|
||||
@@ -326,7 +326,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -372,8 +372,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12618,9 +12616,8 @@ function throwException(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
default: {
|
||||
throw new Error(
|
||||
@@ -16288,11 +16285,11 @@ function beginWork$1(current, workInProgress, renderLanes) {
|
||||
|
||||
case HostHoistable:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostSingleton:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostComponent:
|
||||
return updateHostComponent$1(current, workInProgress, renderLanes);
|
||||
@@ -18048,10 +18045,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
popHostContext(workInProgress);
|
||||
@@ -19866,7 +19861,6 @@ function commitLayoutEffectOnFiber(
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
case HostComponent: {
|
||||
@@ -20500,7 +20494,6 @@ function commitPlacement(finishedWork) {
|
||||
|
||||
switch (parentFiber.tag) {
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
var _parent = parentFiber.stateNode;
|
||||
@@ -20529,7 +20522,6 @@ function commitPlacement(finishedWork) {
|
||||
);
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
throw new Error(
|
||||
@@ -20685,17 +20677,14 @@ function commitDeletionEffectsOnFiber(
|
||||
|
||||
switch (deletedFiber.tag) {
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
if (!offscreenSubtreeWasHidden) {
|
||||
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostText: {
|
||||
// We only need to remove the nearest host child. Set the host parent
|
||||
@@ -21191,10 +21180,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -22203,7 +22190,6 @@ function commitPassiveMountOnFiber(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
@@ -22403,7 +22389,6 @@ function reconnectPassiveEffects(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
@@ -22478,7 +22463,6 @@ function commitAtomicPassiveEffects(
|
||||
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
||||
@@ -24259,9 +24243,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) {
|
||||
case RootFatalErrored: {
|
||||
throw new Error("Root did not complete. This is a bug in React.");
|
||||
}
|
||||
// Flow knows about invariant, so it complains if I add a break
|
||||
// statement, but eslint doesn't know about invariant, so it complains
|
||||
// if I do. eslint-disable-next-line no-fallthrough
|
||||
|
||||
case RootErrored: {
|
||||
// We should have already attempted to retry this tree. If we reached
|
||||
@@ -25416,7 +25397,6 @@ function replaySuspendedUnitOfWork(unitOfWork) {
|
||||
// function component.
|
||||
unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch.
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case SimpleMemoComponent:
|
||||
case FunctionComponent: {
|
||||
@@ -27806,26 +27786,26 @@ function createFiberFromTypeAndProps(
|
||||
return createFiberFromLegacyHidden(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_SCOPE_TYPE: {
|
||||
return createFiberFromScope(type, pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_CACHE_TYPE: {
|
||||
return createFiberFromCache(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
return createFiberFromTracingMarker(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_DEBUG_TRACING_MODE_TYPE:
|
||||
if (enableDebugTracing) {
|
||||
@@ -27834,7 +27814,7 @@ function createFiberFromTypeAndProps(
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (typeof type === "object" && type !== null) {
|
||||
|
||||
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
|
||||
return self;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-01966321";
|
||||
var ReactVersion = "18.3.0-www-modern-71e9d049";
|
||||
|
||||
var LegacyRoot = 0;
|
||||
var ConcurrentRoot = 1;
|
||||
@@ -326,7 +326,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -372,8 +372,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12340,9 +12338,8 @@ function throwException(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
default: {
|
||||
throw new Error(
|
||||
@@ -15982,11 +15979,11 @@ function beginWork$1(current, workInProgress, renderLanes) {
|
||||
|
||||
case HostHoistable:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostSingleton:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostComponent:
|
||||
return updateHostComponent$1(current, workInProgress, renderLanes);
|
||||
@@ -17735,10 +17732,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
popHostContext(workInProgress);
|
||||
@@ -19531,7 +19526,6 @@ function commitLayoutEffectOnFiber(
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
case HostComponent: {
|
||||
@@ -20165,7 +20159,6 @@ function commitPlacement(finishedWork) {
|
||||
|
||||
switch (parentFiber.tag) {
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
var _parent = parentFiber.stateNode;
|
||||
@@ -20194,7 +20187,6 @@ function commitPlacement(finishedWork) {
|
||||
);
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
throw new Error(
|
||||
@@ -20350,17 +20342,14 @@ function commitDeletionEffectsOnFiber(
|
||||
|
||||
switch (deletedFiber.tag) {
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
if (!offscreenSubtreeWasHidden) {
|
||||
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostText: {
|
||||
// We only need to remove the nearest host child. Set the host parent
|
||||
@@ -20856,10 +20845,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -21868,7 +21855,6 @@ function commitPassiveMountOnFiber(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
@@ -22068,7 +22054,6 @@ function reconnectPassiveEffects(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
@@ -22143,7 +22128,6 @@ function commitAtomicPassiveEffects(
|
||||
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
||||
@@ -23924,9 +23908,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) {
|
||||
case RootFatalErrored: {
|
||||
throw new Error("Root did not complete. This is a bug in React.");
|
||||
}
|
||||
// Flow knows about invariant, so it complains if I add a break
|
||||
// statement, but eslint doesn't know about invariant, so it complains
|
||||
// if I do. eslint-disable-next-line no-fallthrough
|
||||
|
||||
case RootErrored: {
|
||||
// We should have already attempted to retry this tree. If we reached
|
||||
@@ -25081,7 +25062,6 @@ function replaySuspendedUnitOfWork(unitOfWork) {
|
||||
// function component.
|
||||
unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch.
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case SimpleMemoComponent:
|
||||
case FunctionComponent: {
|
||||
@@ -27466,26 +27446,26 @@ function createFiberFromTypeAndProps(
|
||||
return createFiberFromLegacyHidden(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_SCOPE_TYPE: {
|
||||
return createFiberFromScope(type, pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_CACHE_TYPE: {
|
||||
return createFiberFromCache(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
return createFiberFromTracingMarker(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_DEBUG_TRACING_MODE_TYPE:
|
||||
if (enableDebugTracing) {
|
||||
@@ -27494,7 +27474,7 @@ function createFiberFromTypeAndProps(
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (typeof type === "object" && type !== null) {
|
||||
|
||||
@@ -9737,7 +9737,7 @@ var slice = Array.prototype.slice,
|
||||
return null;
|
||||
},
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-modern-6c430f83",
|
||||
version: "18.3.0-www-modern-c4645088",
|
||||
rendererPackageName: "react-art"
|
||||
};
|
||||
var internals$jscomp$inline_1324 = {
|
||||
@@ -9768,7 +9768,7 @@ var internals$jscomp$inline_1324 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-www-modern-6c430f83"
|
||||
reconcilerVersion: "18.3.0-www-modern-c4645088"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1325 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
|
||||
@@ -295,7 +295,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -341,8 +341,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16699,9 +16697,8 @@ function throwException(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
default: {
|
||||
throw new Error(
|
||||
@@ -20692,13 +20689,13 @@ function beginWork$1(current, workInProgress, renderLanes) {
|
||||
return updateHostHoistable(current, workInProgress);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostSingleton: {
|
||||
return updateHostSingleton(current, workInProgress, renderLanes);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostComponent:
|
||||
return updateHostComponent$1(current, workInProgress, renderLanes);
|
||||
@@ -22589,9 +22586,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -22650,9 +22646,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
|
||||
bubbleProperties(workInProgress);
|
||||
return null;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
popHostContext(workInProgress);
|
||||
@@ -24570,9 +24565,8 @@ function commitLayoutEffectOnFiber(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
case HostComponent: {
|
||||
@@ -25241,9 +25235,8 @@ function commitPlacement(finishedWork) {
|
||||
|
||||
insertOrAppendPlacementNode(finishedWork, before, parent);
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
var _parent = parentFiber.stateNode;
|
||||
@@ -25275,7 +25268,6 @@ function commitPlacement(finishedWork) {
|
||||
);
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
throw new Error(
|
||||
@@ -25449,9 +25441,8 @@ function commitDeletionEffectsOnFiber(
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -25476,16 +25467,14 @@ function commitDeletionEffectsOnFiber(
|
||||
hostParent = prevHostParent;
|
||||
hostParentIsContainer = prevHostParentIsContainer;
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
if (!offscreenSubtreeWasHidden) {
|
||||
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostText: {
|
||||
// We only need to remove the nearest host child. Set the host parent
|
||||
@@ -26115,9 +26104,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -26137,9 +26125,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -27183,7 +27170,6 @@ function commitPassiveMountOnFiber(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
@@ -27383,7 +27369,6 @@ function reconnectPassiveEffects(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
@@ -27458,7 +27443,6 @@ function commitAtomicPassiveEffects(
|
||||
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
||||
@@ -29309,9 +29293,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) {
|
||||
case RootFatalErrored: {
|
||||
throw new Error("Root did not complete. This is a bug in React.");
|
||||
}
|
||||
// Flow knows about invariant, so it complains if I add a break
|
||||
// statement, but eslint doesn't know about invariant, so it complains
|
||||
// if I do. eslint-disable-next-line no-fallthrough
|
||||
|
||||
case RootErrored: {
|
||||
// We should have already attempted to retry this tree. If we reached
|
||||
@@ -30509,7 +30490,6 @@ function replaySuspendedUnitOfWork(unitOfWork) {
|
||||
// function component.
|
||||
unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch.
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case SimpleMemoComponent:
|
||||
case FunctionComponent: {
|
||||
@@ -32955,26 +32935,26 @@ function createFiberFromTypeAndProps(
|
||||
return createFiberFromLegacyHidden(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_SCOPE_TYPE: {
|
||||
return createFiberFromScope(type, pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_CACHE_TYPE: {
|
||||
return createFiberFromCache(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
return createFiberFromTracingMarker(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_DEBUG_TRACING_MODE_TYPE:
|
||||
if (enableDebugTracing) {
|
||||
@@ -32983,7 +32963,7 @@ function createFiberFromTypeAndProps(
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (typeof type === "object" && type !== null) {
|
||||
@@ -33427,7 +33407,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-5877ee71";
|
||||
var ReactVersion = "18.3.0-www-classic-5c06c715";
|
||||
|
||||
function createPortal$1(
|
||||
children,
|
||||
@@ -37977,7 +37957,6 @@ function setProp(domElement, tag, key, value, props) {
|
||||
}
|
||||
|
||||
// Fall through to the last case which shouldn't remove empty strings.
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "formAction": {
|
||||
if (
|
||||
@@ -38336,7 +38315,7 @@ function setProp(domElement, tag, key, value, props) {
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (
|
||||
@@ -38445,7 +38424,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props) {
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (registrationNameDependencies.hasOwnProperty(key)) {
|
||||
@@ -38732,7 +38711,6 @@ function setInitialProperties(domElement, tag, props) {
|
||||
listenToNonDelegatedEvent("error", domElement);
|
||||
listenToNonDelegatedEvent("load", domElement); // We fallthrough to the return of the void elements
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "area":
|
||||
case "base":
|
||||
@@ -38922,7 +38900,7 @@ function diffProperties(domElement, tag, lastProps, nextProps) {
|
||||
error('Cannot update the "is" prop after it has been initialized.');
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
(updatePayload = updatePayload || []).push(propKey, nextProp);
|
||||
@@ -39610,7 +39588,7 @@ function diffHydratedCustomComponent(
|
||||
continue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case "className":
|
||||
if (enableCustomElementPropertySupport) {
|
||||
@@ -39625,7 +39603,7 @@ function diffHydratedCustomComponent(
|
||||
continue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
var ownNamespaceDev = parentNamespaceDev;
|
||||
@@ -44837,20 +44815,17 @@ function getEventPriority(domEventName) {
|
||||
case "touchcancel":
|
||||
case "touchend":
|
||||
case "touchstart":
|
||||
case "volumechange": // Used by polyfills:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "volumechange": // Used by polyfills: (fall through)
|
||||
|
||||
case "change":
|
||||
case "selectionchange":
|
||||
case "textInput":
|
||||
case "compositionstart":
|
||||
case "compositionend":
|
||||
case "compositionupdate": // Only enableCreateEventHandleAPI:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "compositionupdate": // Only enableCreateEventHandleAPI: (fall through)
|
||||
|
||||
case "beforeblur":
|
||||
case "afterblur": // Not used by React but could be by user code:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "afterblur": // Not used by React but could be by user code: (fall through)
|
||||
|
||||
case "beforeinput":
|
||||
case "blur":
|
||||
@@ -44876,8 +44851,7 @@ function getEventPriority(domEventName) {
|
||||
case "scroll":
|
||||
case "toggle":
|
||||
case "touchmove":
|
||||
case "wheel": // Not used by React but could be by user code:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "wheel": // Not used by React but could be by user code: (fall through)
|
||||
|
||||
case "mouseenter":
|
||||
case "mouseleave":
|
||||
|
||||
@@ -3134,7 +3134,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -3180,8 +3180,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16600,9 +16598,8 @@ function throwException(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
default: {
|
||||
throw new Error(
|
||||
@@ -20565,13 +20562,13 @@ function beginWork$1(current, workInProgress, renderLanes) {
|
||||
return updateHostHoistable(current, workInProgress);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostSingleton: {
|
||||
return updateHostSingleton(current, workInProgress, renderLanes);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostComponent:
|
||||
return updateHostComponent$1(current, workInProgress, renderLanes);
|
||||
@@ -22455,9 +22452,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -22516,9 +22512,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
|
||||
bubbleProperties(workInProgress);
|
||||
return null;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
popHostContext(workInProgress);
|
||||
@@ -24414,9 +24409,8 @@ function commitLayoutEffectOnFiber(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
case HostComponent: {
|
||||
@@ -25085,9 +25079,8 @@ function commitPlacement(finishedWork) {
|
||||
|
||||
insertOrAppendPlacementNode(finishedWork, before, parent);
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
var _parent = parentFiber.stateNode;
|
||||
@@ -25119,7 +25112,6 @@ function commitPlacement(finishedWork) {
|
||||
);
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
throw new Error(
|
||||
@@ -25293,9 +25285,8 @@ function commitDeletionEffectsOnFiber(
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -25320,16 +25311,14 @@ function commitDeletionEffectsOnFiber(
|
||||
hostParent = prevHostParent;
|
||||
hostParentIsContainer = prevHostParentIsContainer;
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
if (!offscreenSubtreeWasHidden) {
|
||||
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostText: {
|
||||
// We only need to remove the nearest host child. Set the host parent
|
||||
@@ -25959,9 +25948,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -25981,9 +25969,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -27027,7 +27014,6 @@ function commitPassiveMountOnFiber(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
@@ -27227,7 +27213,6 @@ function reconnectPassiveEffects(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
@@ -27302,7 +27287,6 @@ function commitAtomicPassiveEffects(
|
||||
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
||||
@@ -29153,9 +29137,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) {
|
||||
case RootFatalErrored: {
|
||||
throw new Error("Root did not complete. This is a bug in React.");
|
||||
}
|
||||
// Flow knows about invariant, so it complains if I add a break
|
||||
// statement, but eslint doesn't know about invariant, so it complains
|
||||
// if I do. eslint-disable-next-line no-fallthrough
|
||||
|
||||
case RootErrored: {
|
||||
// We should have already attempted to retry this tree. If we reached
|
||||
@@ -30353,7 +30334,6 @@ function replaySuspendedUnitOfWork(unitOfWork) {
|
||||
// function component.
|
||||
unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch.
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case SimpleMemoComponent:
|
||||
case FunctionComponent: {
|
||||
@@ -32794,26 +32774,26 @@ function createFiberFromTypeAndProps(
|
||||
return createFiberFromLegacyHidden(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_SCOPE_TYPE: {
|
||||
return createFiberFromScope(type, pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_CACHE_TYPE: {
|
||||
return createFiberFromCache(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
return createFiberFromTracingMarker(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_DEBUG_TRACING_MODE_TYPE:
|
||||
if (enableDebugTracing) {
|
||||
@@ -32822,7 +32802,7 @@ function createFiberFromTypeAndProps(
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (typeof type === "object" && type !== null) {
|
||||
@@ -33266,7 +33246,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-6c430f83";
|
||||
var ReactVersion = "18.3.0-www-modern-c4645088";
|
||||
|
||||
function createPortal$1(
|
||||
children,
|
||||
@@ -34672,20 +34652,17 @@ function getEventPriority(domEventName) {
|
||||
case "touchcancel":
|
||||
case "touchend":
|
||||
case "touchstart":
|
||||
case "volumechange": // Used by polyfills:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "volumechange": // Used by polyfills: (fall through)
|
||||
|
||||
case "change":
|
||||
case "selectionchange":
|
||||
case "textInput":
|
||||
case "compositionstart":
|
||||
case "compositionend":
|
||||
case "compositionupdate": // Only enableCreateEventHandleAPI:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "compositionupdate": // Only enableCreateEventHandleAPI: (fall through)
|
||||
|
||||
case "beforeblur":
|
||||
case "afterblur": // Not used by React but could be by user code:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "afterblur": // Not used by React but could be by user code: (fall through)
|
||||
|
||||
case "beforeinput":
|
||||
case "blur":
|
||||
@@ -34711,8 +34688,7 @@ function getEventPriority(domEventName) {
|
||||
case "scroll":
|
||||
case "toggle":
|
||||
case "touchmove":
|
||||
case "wheel": // Not used by React but could be by user code:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "wheel": // Not used by React but could be by user code: (fall through)
|
||||
|
||||
case "mouseenter":
|
||||
case "mouseleave":
|
||||
@@ -38504,7 +38480,6 @@ function setProp(domElement, tag, key, value, props) {
|
||||
}
|
||||
|
||||
// Fall through to the last case which shouldn't remove empty strings.
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "formAction": {
|
||||
if (
|
||||
@@ -38863,7 +38838,7 @@ function setProp(domElement, tag, key, value, props) {
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (
|
||||
@@ -38972,7 +38947,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props) {
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (registrationNameDependencies.hasOwnProperty(key)) {
|
||||
@@ -39259,7 +39234,6 @@ function setInitialProperties(domElement, tag, props) {
|
||||
listenToNonDelegatedEvent("error", domElement);
|
||||
listenToNonDelegatedEvent("load", domElement); // We fallthrough to the return of the void elements
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "area":
|
||||
case "base":
|
||||
@@ -39449,7 +39423,7 @@ function diffProperties(domElement, tag, lastProps, nextProps) {
|
||||
error('Cannot update the "is" prop after it has been initialized.');
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
(updatePayload = updatePayload || []).push(propKey, nextProp);
|
||||
@@ -40137,7 +40111,7 @@ function diffHydratedCustomComponent(
|
||||
continue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case "className":
|
||||
if (enableCustomElementPropertySupport) {
|
||||
@@ -40152,7 +40126,7 @@ function diffHydratedCustomComponent(
|
||||
continue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
var ownNamespaceDev = parentNamespaceDev;
|
||||
|
||||
@@ -19,7 +19,7 @@ if (__DEV__) {
|
||||
var React = require("react");
|
||||
var ReactDOM = require("react-dom");
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-1fceba31";
|
||||
var ReactVersion = "18.3.0-www-classic-0673a8a9";
|
||||
|
||||
// This refers to a WWW module.
|
||||
var warningWWW = require("warning");
|
||||
@@ -2877,7 +2877,6 @@ function pushAttribute(target, name, value) {
|
||||
}
|
||||
|
||||
// Fall through to the last case which shouldn't remove empty strings.
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "formAction": {
|
||||
if (
|
||||
@@ -3348,12 +3347,10 @@ function pushStartOption(target, props, formatContext) {
|
||||
case "dangerouslySetInnerHTML":
|
||||
innerHTML = propValue;
|
||||
break;
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "value":
|
||||
value = propValue;
|
||||
// We intentionally fallthrough to also set the attribute on the node.
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -3485,7 +3482,6 @@ function pushInput(target, props) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "defaultChecked":
|
||||
defaultChecked = propValue;
|
||||
@@ -3577,7 +3573,6 @@ function pushStartTextArea(target, props) {
|
||||
throw new Error(
|
||||
"`dangerouslySetInnerHTML` does not make sense on <textarea>."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -3952,7 +3947,6 @@ function pushLinkImpl(target, props) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -4193,7 +4187,6 @@ function pushSelfClosing(target, props, tag) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -4223,7 +4216,6 @@ function pushStartMenuItem(target, props) {
|
||||
throw new Error(
|
||||
"menuitems cannot have `children` nor `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -5018,7 +5010,6 @@ function pushEndInstance(target, type, props, responseState, formatContext) {
|
||||
// Omitted close tags
|
||||
// TODO: Instead of repeating this switch we could try to pass a flag from above.
|
||||
// That would require returning a tuple. Which might be ok if it gets inlined.
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "area":
|
||||
case "base":
|
||||
@@ -6212,7 +6203,6 @@ function writeStyleResourceDependencyInJS(
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
writeStyleResourceAttributeInJS(destination, propKey, propValue);
|
||||
@@ -6414,7 +6404,6 @@ function writeStyleResourceDependencyInAttr(
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
writeStyleResourceAttributeInAttr(destination, propKey, propValue);
|
||||
@@ -7510,7 +7499,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -7556,8 +7545,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10828,7 +10815,6 @@ function renderElement(request, task, prevThenableState, type, props, ref) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case REACT_SUSPENSE_TYPE: {
|
||||
{
|
||||
@@ -10975,7 +10961,6 @@ function renderNodeDestructiveImpl(request, task, prevThenableState, node) {
|
||||
"Portals are not currently supported by the server renderer. " +
|
||||
"Render them conditionally so that they only appear on the client render."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case REACT_LAZY_TYPE: {
|
||||
var lazyNode = node;
|
||||
|
||||
@@ -19,7 +19,7 @@ if (__DEV__) {
|
||||
var React = require("react");
|
||||
var ReactDOM = require("react-dom");
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-8b1abfff";
|
||||
var ReactVersion = "18.3.0-www-modern-8e893346";
|
||||
|
||||
// This refers to a WWW module.
|
||||
var warningWWW = require("warning");
|
||||
@@ -2877,7 +2877,6 @@ function pushAttribute(target, name, value) {
|
||||
}
|
||||
|
||||
// Fall through to the last case which shouldn't remove empty strings.
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "formAction": {
|
||||
if (
|
||||
@@ -3348,12 +3347,10 @@ function pushStartOption(target, props, formatContext) {
|
||||
case "dangerouslySetInnerHTML":
|
||||
innerHTML = propValue;
|
||||
break;
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "value":
|
||||
value = propValue;
|
||||
// We intentionally fallthrough to also set the attribute on the node.
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -3485,7 +3482,6 @@ function pushInput(target, props) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "defaultChecked":
|
||||
defaultChecked = propValue;
|
||||
@@ -3577,7 +3573,6 @@ function pushStartTextArea(target, props) {
|
||||
throw new Error(
|
||||
"`dangerouslySetInnerHTML` does not make sense on <textarea>."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -3952,7 +3947,6 @@ function pushLinkImpl(target, props) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -4193,7 +4187,6 @@ function pushSelfClosing(target, props, tag) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -4223,7 +4216,6 @@ function pushStartMenuItem(target, props) {
|
||||
throw new Error(
|
||||
"menuitems cannot have `children` nor `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -5018,7 +5010,6 @@ function pushEndInstance(target, type, props, responseState, formatContext) {
|
||||
// Omitted close tags
|
||||
// TODO: Instead of repeating this switch we could try to pass a flag from above.
|
||||
// That would require returning a tuple. Which might be ok if it gets inlined.
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "area":
|
||||
case "base":
|
||||
@@ -6212,7 +6203,6 @@ function writeStyleResourceDependencyInJS(
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
writeStyleResourceAttributeInJS(destination, propKey, propValue);
|
||||
@@ -6414,7 +6404,6 @@ function writeStyleResourceDependencyInAttr(
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
writeStyleResourceAttributeInAttr(destination, propKey, propValue);
|
||||
@@ -7510,7 +7499,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -7556,8 +7545,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10576,7 +10563,6 @@ function renderElement(request, task, prevThenableState, type, props, ref) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case REACT_SUSPENSE_TYPE: {
|
||||
{
|
||||
@@ -10723,7 +10709,6 @@ function renderNodeDestructiveImpl(request, task, prevThenableState, node) {
|
||||
"Portals are not currently supported by the server renderer. " +
|
||||
"Render them conditionally so that they only appear on the client render."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case REACT_LAZY_TYPE: {
|
||||
var lazyNode = node;
|
||||
|
||||
@@ -2884,7 +2884,6 @@ function pushAttribute(target, name, value) {
|
||||
}
|
||||
|
||||
// Fall through to the last case which shouldn't remove empty strings.
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "formAction": {
|
||||
if (
|
||||
@@ -3355,12 +3354,10 @@ function pushStartOption(target, props, formatContext) {
|
||||
case "dangerouslySetInnerHTML":
|
||||
innerHTML = propValue;
|
||||
break;
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "value":
|
||||
value = propValue;
|
||||
// We intentionally fallthrough to also set the attribute on the node.
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -3492,7 +3489,6 @@ function pushInput(target, props) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "defaultChecked":
|
||||
defaultChecked = propValue;
|
||||
@@ -3584,7 +3580,6 @@ function pushStartTextArea(target, props) {
|
||||
throw new Error(
|
||||
"`dangerouslySetInnerHTML` does not make sense on <textarea>."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -3959,7 +3954,6 @@ function pushLinkImpl(target, props) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -4200,7 +4194,6 @@ function pushSelfClosing(target, props, tag) {
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -4230,7 +4223,6 @@ function pushStartMenuItem(target, props) {
|
||||
throw new Error(
|
||||
"menuitems cannot have `children` nor `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
pushAttribute(target, propKey, propValue);
|
||||
@@ -5025,7 +5017,6 @@ function pushEndInstance(target, type, props, responseState, formatContext) {
|
||||
// Omitted close tags
|
||||
// TODO: Instead of repeating this switch we could try to pass a flag from above.
|
||||
// That would require returning a tuple. Which might be ok if it gets inlined.
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case "area":
|
||||
case "base":
|
||||
@@ -6219,7 +6210,6 @@ function writeStyleResourceDependencyInJS(
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
writeStyleResourceAttributeInJS(destination, propKey, propValue);
|
||||
@@ -6421,7 +6411,6 @@ function writeStyleResourceDependencyInAttr(
|
||||
" is a self-closing tag and must neither have `children` nor " +
|
||||
"use `dangerouslySetInnerHTML`."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
writeStyleResourceAttributeInAttr(destination, propKey, propValue);
|
||||
@@ -7402,7 +7391,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -7448,8 +7437,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10462,7 +10449,6 @@ function renderElement(request, task, prevThenableState, type, props, ref) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case REACT_SUSPENSE_TYPE: {
|
||||
{
|
||||
@@ -10609,7 +10595,6 @@ function renderNodeDestructiveImpl(request, task, prevThenableState, node) {
|
||||
"Portals are not currently supported by the server renderer. " +
|
||||
"Render them conditionally so that they only appear on the client render."
|
||||
);
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case REACT_LAZY_TYPE: {
|
||||
var lazyNode = node;
|
||||
|
||||
@@ -284,7 +284,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -330,8 +330,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6750,7 +6748,6 @@ function setProp(domElement, tag, key, value, props) {
|
||||
}
|
||||
|
||||
// Fall through to the last case which shouldn't remove empty strings.
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "formAction": {
|
||||
if (
|
||||
@@ -7109,7 +7106,7 @@ function setProp(domElement, tag, key, value, props) {
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (
|
||||
@@ -7218,7 +7215,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props) {
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (registrationNameDependencies.hasOwnProperty(key)) {
|
||||
@@ -7505,7 +7502,6 @@ function setInitialProperties(domElement, tag, props) {
|
||||
listenToNonDelegatedEvent("error", domElement);
|
||||
listenToNonDelegatedEvent("load", domElement); // We fallthrough to the return of the void elements
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "area":
|
||||
case "base":
|
||||
@@ -7695,7 +7691,7 @@ function diffProperties(domElement, tag, lastProps, nextProps) {
|
||||
error('Cannot update the "is" prop after it has been initialized.');
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
(updatePayload = updatePayload || []).push(propKey, nextProp);
|
||||
@@ -8383,7 +8379,7 @@ function diffHydratedCustomComponent(
|
||||
continue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case "className":
|
||||
if (enableCustomElementPropertySupport) {
|
||||
@@ -8398,7 +8394,7 @@ function diffHydratedCustomComponent(
|
||||
continue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
var ownNamespaceDev = parentNamespaceDev;
|
||||
@@ -19347,9 +19343,8 @@ function throwException(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
default: {
|
||||
throw new Error(
|
||||
@@ -23340,13 +23335,13 @@ function beginWork$1(current, workInProgress, renderLanes) {
|
||||
return updateHostHoistable(current, workInProgress);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostSingleton: {
|
||||
return updateHostSingleton(current, workInProgress, renderLanes);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostComponent:
|
||||
return updateHostComponent$1(current, workInProgress, renderLanes);
|
||||
@@ -25237,9 +25232,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -25298,9 +25292,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
|
||||
bubbleProperties(workInProgress);
|
||||
return null;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
popHostContext(workInProgress);
|
||||
@@ -27218,9 +27211,8 @@ function commitLayoutEffectOnFiber(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
case HostComponent: {
|
||||
@@ -27889,9 +27881,8 @@ function commitPlacement(finishedWork) {
|
||||
|
||||
insertOrAppendPlacementNode(finishedWork, before, parent);
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
var _parent = parentFiber.stateNode;
|
||||
@@ -27923,7 +27914,6 @@ function commitPlacement(finishedWork) {
|
||||
);
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
throw new Error(
|
||||
@@ -28097,9 +28087,8 @@ function commitDeletionEffectsOnFiber(
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -28124,16 +28113,14 @@ function commitDeletionEffectsOnFiber(
|
||||
hostParent = prevHostParent;
|
||||
hostParentIsContainer = prevHostParentIsContainer;
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
if (!offscreenSubtreeWasHidden) {
|
||||
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostText: {
|
||||
// We only need to remove the nearest host child. Set the host parent
|
||||
@@ -28763,9 +28750,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -28785,9 +28771,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -29831,7 +29816,6 @@ function commitPassiveMountOnFiber(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
@@ -30031,7 +30015,6 @@ function reconnectPassiveEffects(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
@@ -30106,7 +30089,6 @@ function commitAtomicPassiveEffects(
|
||||
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
||||
@@ -32440,9 +32422,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) {
|
||||
case RootFatalErrored: {
|
||||
throw new Error("Root did not complete. This is a bug in React.");
|
||||
}
|
||||
// Flow knows about invariant, so it complains if I add a break
|
||||
// statement, but eslint doesn't know about invariant, so it complains
|
||||
// if I do. eslint-disable-next-line no-fallthrough
|
||||
|
||||
case RootErrored: {
|
||||
// We should have already attempted to retry this tree. If we reached
|
||||
@@ -33640,7 +33619,6 @@ function replaySuspendedUnitOfWork(unitOfWork) {
|
||||
// function component.
|
||||
unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch.
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case SimpleMemoComponent:
|
||||
case FunctionComponent: {
|
||||
@@ -36086,26 +36064,26 @@ function createFiberFromTypeAndProps(
|
||||
return createFiberFromLegacyHidden(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_SCOPE_TYPE: {
|
||||
return createFiberFromScope(type, pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_CACHE_TYPE: {
|
||||
return createFiberFromCache(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
return createFiberFromTracingMarker(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_DEBUG_TRACING_MODE_TYPE:
|
||||
if (enableDebugTracing) {
|
||||
@@ -36114,7 +36092,7 @@ function createFiberFromTypeAndProps(
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (typeof type === "object" && type !== null) {
|
||||
@@ -36558,7 +36536,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-47bc9d74";
|
||||
var ReactVersion = "18.3.0-www-classic-5fa88aed";
|
||||
|
||||
function createPortal$1(
|
||||
children,
|
||||
@@ -46548,20 +46526,17 @@ function getEventPriority(domEventName) {
|
||||
case "touchcancel":
|
||||
case "touchend":
|
||||
case "touchstart":
|
||||
case "volumechange": // Used by polyfills:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "volumechange": // Used by polyfills: (fall through)
|
||||
|
||||
case "change":
|
||||
case "selectionchange":
|
||||
case "textInput":
|
||||
case "compositionstart":
|
||||
case "compositionend":
|
||||
case "compositionupdate": // Only enableCreateEventHandleAPI:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "compositionupdate": // Only enableCreateEventHandleAPI: (fall through)
|
||||
|
||||
case "beforeblur":
|
||||
case "afterblur": // Not used by React but could be by user code:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "afterblur": // Not used by React but could be by user code: (fall through)
|
||||
|
||||
case "beforeinput":
|
||||
case "blur":
|
||||
@@ -46587,8 +46562,7 @@ function getEventPriority(domEventName) {
|
||||
case "scroll":
|
||||
case "toggle":
|
||||
case "touchmove":
|
||||
case "wheel": // Not used by React but could be by user code:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "wheel": // Not used by React but could be by user code: (fall through)
|
||||
|
||||
case "mouseenter":
|
||||
case "mouseleave":
|
||||
|
||||
@@ -3270,7 +3270,7 @@ function getComponentNameFromType(type) {
|
||||
return "Cache";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
@@ -3316,8 +3316,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16736,9 +16734,8 @@ function throwException(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
default: {
|
||||
throw new Error(
|
||||
@@ -20701,13 +20698,13 @@ function beginWork$1(current, workInProgress, renderLanes) {
|
||||
return updateHostHoistable(current, workInProgress);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostSingleton: {
|
||||
return updateHostSingleton(current, workInProgress, renderLanes);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostComponent:
|
||||
return updateHostComponent$1(current, workInProgress, renderLanes);
|
||||
@@ -22591,9 +22588,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -22652,9 +22648,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
|
||||
bubbleProperties(workInProgress);
|
||||
return null;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
popHostContext(workInProgress);
|
||||
@@ -24550,9 +24545,8 @@ function commitLayoutEffectOnFiber(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
case HostComponent: {
|
||||
@@ -25221,9 +25215,8 @@ function commitPlacement(finishedWork) {
|
||||
|
||||
insertOrAppendPlacementNode(finishedWork, before, parent);
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
var _parent = parentFiber.stateNode;
|
||||
@@ -25255,7 +25248,6 @@ function commitPlacement(finishedWork) {
|
||||
);
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
throw new Error(
|
||||
@@ -25429,9 +25421,8 @@ function commitDeletionEffectsOnFiber(
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -25456,16 +25447,14 @@ function commitDeletionEffectsOnFiber(
|
||||
hostParent = prevHostParent;
|
||||
hostParentIsContainer = prevHostParentIsContainer;
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
if (!offscreenSubtreeWasHidden) {
|
||||
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostText: {
|
||||
// We only need to remove the nearest host child. Set the host parent
|
||||
@@ -26095,9 +26084,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton: {
|
||||
{
|
||||
@@ -26117,9 +26105,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -27163,7 +27150,6 @@ function commitPassiveMountOnFiber(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
@@ -27363,7 +27349,6 @@ function reconnectPassiveEffects(
|
||||
break;
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
@@ -27438,7 +27423,6 @@ function commitAtomicPassiveEffects(
|
||||
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
||||
@@ -29772,9 +29756,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) {
|
||||
case RootFatalErrored: {
|
||||
throw new Error("Root did not complete. This is a bug in React.");
|
||||
}
|
||||
// Flow knows about invariant, so it complains if I add a break
|
||||
// statement, but eslint doesn't know about invariant, so it complains
|
||||
// if I do. eslint-disable-next-line no-fallthrough
|
||||
|
||||
case RootErrored: {
|
||||
// We should have already attempted to retry this tree. If we reached
|
||||
@@ -30972,7 +30953,6 @@ function replaySuspendedUnitOfWork(unitOfWork) {
|
||||
// function component.
|
||||
unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch.
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case SimpleMemoComponent:
|
||||
case FunctionComponent: {
|
||||
@@ -33413,26 +33393,26 @@ function createFiberFromTypeAndProps(
|
||||
return createFiberFromLegacyHidden(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_SCOPE_TYPE: {
|
||||
return createFiberFromScope(type, pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_CACHE_TYPE: {
|
||||
return createFiberFromCache(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
if (enableTransitionTracing) {
|
||||
return createFiberFromTracingMarker(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_DEBUG_TRACING_MODE_TYPE:
|
||||
if (enableDebugTracing) {
|
||||
@@ -33441,7 +33421,7 @@ function createFiberFromTypeAndProps(
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (typeof type === "object" && type !== null) {
|
||||
@@ -33885,7 +33865,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-ed550fc5";
|
||||
var ReactVersion = "18.3.0-www-modern-36890bc4";
|
||||
|
||||
function createPortal$1(
|
||||
children,
|
||||
@@ -35291,20 +35271,17 @@ function getEventPriority(domEventName) {
|
||||
case "touchcancel":
|
||||
case "touchend":
|
||||
case "touchstart":
|
||||
case "volumechange": // Used by polyfills:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "volumechange": // Used by polyfills: (fall through)
|
||||
|
||||
case "change":
|
||||
case "selectionchange":
|
||||
case "textInput":
|
||||
case "compositionstart":
|
||||
case "compositionend":
|
||||
case "compositionupdate": // Only enableCreateEventHandleAPI:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "compositionupdate": // Only enableCreateEventHandleAPI: (fall through)
|
||||
|
||||
case "beforeblur":
|
||||
case "afterblur": // Not used by React but could be by user code:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "afterblur": // Not used by React but could be by user code: (fall through)
|
||||
|
||||
case "beforeinput":
|
||||
case "blur":
|
||||
@@ -35330,8 +35307,7 @@ function getEventPriority(domEventName) {
|
||||
case "scroll":
|
||||
case "toggle":
|
||||
case "touchmove":
|
||||
case "wheel": // Not used by React but could be by user code:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
case "wheel": // Not used by React but could be by user code: (fall through)
|
||||
|
||||
case "mouseenter":
|
||||
case "mouseleave":
|
||||
@@ -39123,7 +39099,6 @@ function setProp(domElement, tag, key, value, props) {
|
||||
}
|
||||
|
||||
// Fall through to the last case which shouldn't remove empty strings.
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "formAction": {
|
||||
if (
|
||||
@@ -39482,7 +39457,7 @@ function setProp(domElement, tag, key, value, props) {
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (
|
||||
@@ -39591,7 +39566,7 @@ function setPropOnCustomElement(domElement, tag, key, value, props) {
|
||||
break;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (registrationNameDependencies.hasOwnProperty(key)) {
|
||||
@@ -39878,7 +39853,6 @@ function setInitialProperties(domElement, tag, props) {
|
||||
listenToNonDelegatedEvent("error", domElement);
|
||||
listenToNonDelegatedEvent("load", domElement); // We fallthrough to the return of the void elements
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case "area":
|
||||
case "base":
|
||||
@@ -40068,7 +40042,7 @@ function diffProperties(domElement, tag, lastProps, nextProps) {
|
||||
error('Cannot update the "is" prop after it has been initialized.');
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
(updatePayload = updatePayload || []).push(propKey, nextProp);
|
||||
@@ -40756,7 +40730,7 @@ function diffHydratedCustomComponent(
|
||||
continue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case "className":
|
||||
if (enableCustomElementPropertySupport) {
|
||||
@@ -40771,7 +40745,7 @@ function diffHydratedCustomComponent(
|
||||
continue;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
var ownNamespaceDev = parentNamespaceDev;
|
||||
|
||||
@@ -14796,7 +14796,7 @@ Internals.Events = [
|
||||
var devToolsConfig$jscomp$inline_1784 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-classic-38982954",
|
||||
version: "18.3.0-www-classic-afdf1f7f",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2226 = {
|
||||
@@ -14826,7 +14826,7 @@ var internals$jscomp$inline_2226 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-www-classic-38982954"
|
||||
reconcilerVersion: "18.3.0-www-classic-afdf1f7f"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2227 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -16837,4 +16837,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
|
||||
);
|
||||
};
|
||||
exports.unstable_runWithPriority = runWithPriority;
|
||||
exports.version = "18.3.0-www-classic-38982954";
|
||||
exports.version = "18.3.0-www-classic-afdf1f7f";
|
||||
|
||||
@@ -15998,7 +15998,7 @@ Internals.Events = [
|
||||
var devToolsConfig$jscomp$inline_1814 = {
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
bundleType: 0,
|
||||
version: "18.3.0-www-modern-0b6784ca",
|
||||
version: "18.3.0-www-modern-d63670f9",
|
||||
rendererPackageName: "react-dom"
|
||||
};
|
||||
var internals$jscomp$inline_2193 = {
|
||||
@@ -16029,7 +16029,7 @@ var internals$jscomp$inline_2193 = {
|
||||
scheduleRoot: null,
|
||||
setRefreshHandler: null,
|
||||
getCurrentFiber: null,
|
||||
reconcilerVersion: "18.3.0-www-modern-0b6784ca"
|
||||
reconcilerVersion: "18.3.0-www-modern-d63670f9"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2194 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -16349,4 +16349,4 @@ exports.unstable_createEventHandle = function (type, options) {
|
||||
return eventHandle;
|
||||
};
|
||||
exports.unstable_runWithPriority = runWithPriority;
|
||||
exports.version = "18.3.0-www-modern-0b6784ca";
|
||||
exports.version = "18.3.0-www-modern-d63670f9";
|
||||
|
||||
@@ -318,8 +318,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11093,9 +11091,8 @@ function throwException(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
default: {
|
||||
throw new Error(
|
||||
@@ -14260,11 +14257,11 @@ function beginWork$1(current, workInProgress, renderLanes) {
|
||||
|
||||
case HostHoistable:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostSingleton:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostComponent:
|
||||
return updateHostComponent$1(current, workInProgress, renderLanes);
|
||||
@@ -15633,10 +15630,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
popHostContext(workInProgress);
|
||||
@@ -17316,7 +17311,6 @@ function commitLayoutEffectOnFiber(
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
case HostComponent: {
|
||||
@@ -17685,7 +17679,6 @@ function commitPlacement(finishedWork) {
|
||||
|
||||
switch (parentFiber.tag) {
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
var _parent = parentFiber.stateNode;
|
||||
@@ -17714,7 +17707,6 @@ function commitPlacement(finishedWork) {
|
||||
);
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
throw new Error(
|
||||
@@ -17870,17 +17862,14 @@ function commitDeletionEffectsOnFiber(
|
||||
|
||||
switch (deletedFiber.tag) {
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
if (!offscreenSubtreeWasHidden) {
|
||||
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostText: {
|
||||
// We only need to remove the nearest host child. Set the host parent
|
||||
@@ -18336,10 +18325,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -19204,7 +19191,6 @@ function commitPassiveMountOnFiber(
|
||||
}
|
||||
|
||||
case TracingMarkerComponent:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
@@ -19371,7 +19357,6 @@ function reconnectPassiveEffects(
|
||||
}
|
||||
|
||||
case TracingMarkerComponent:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
@@ -19445,7 +19430,6 @@ function commitAtomicPassiveEffects(
|
||||
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
||||
@@ -20952,9 +20936,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) {
|
||||
case RootFatalErrored: {
|
||||
throw new Error("Root did not complete. This is a bug in React.");
|
||||
}
|
||||
// Flow knows about invariant, so it complains if I add a break
|
||||
// statement, but eslint doesn't know about invariant, so it complains
|
||||
// if I do. eslint-disable-next-line no-fallthrough
|
||||
|
||||
case RootErrored: {
|
||||
// We should have already attempted to retry this tree. If we reached
|
||||
@@ -22018,7 +21999,6 @@ function replaySuspendedUnitOfWork(unitOfWork) {
|
||||
// function component.
|
||||
unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch.
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case SimpleMemoComponent:
|
||||
case FunctionComponent: {
|
||||
@@ -24179,27 +24159,27 @@ function createFiberFromTypeAndProps(
|
||||
|
||||
case REACT_LEGACY_HIDDEN_TYPE:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_SCOPE_TYPE: {
|
||||
return createFiberFromScope(type, pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_CACHE_TYPE: {
|
||||
return createFiberFromCache(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_DEBUG_TRACING_MODE_TYPE:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (typeof type === "object" && type !== null) {
|
||||
@@ -24521,7 +24501,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-classic-ce5b9a0a";
|
||||
var ReactVersion = "18.3.0-www-classic-ce15662b";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
@@ -318,8 +318,6 @@ function getComponentNameFromType(type) {
|
||||
var context2 = type;
|
||||
return (context2.displayName || context2._globalName) + ".Provider";
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11093,9 +11091,8 @@ function throwException(
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
} // Fall through
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
default: {
|
||||
throw new Error(
|
||||
@@ -14260,11 +14257,11 @@ function beginWork$1(current, workInProgress, renderLanes) {
|
||||
|
||||
case HostHoistable:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostSingleton:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case HostComponent:
|
||||
return updateHostComponent$1(current, workInProgress, renderLanes);
|
||||
@@ -15633,10 +15630,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
popHostContext(workInProgress);
|
||||
@@ -17316,7 +17311,6 @@ function commitLayoutEffectOnFiber(
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
case HostComponent: {
|
||||
@@ -17685,7 +17679,6 @@ function commitPlacement(finishedWork) {
|
||||
|
||||
switch (parentFiber.tag) {
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
var _parent = parentFiber.stateNode;
|
||||
@@ -17714,7 +17707,6 @@ function commitPlacement(finishedWork) {
|
||||
);
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default:
|
||||
throw new Error(
|
||||
@@ -17870,17 +17862,14 @@ function commitDeletionEffectsOnFiber(
|
||||
|
||||
switch (deletedFiber.tag) {
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
if (!offscreenSubtreeWasHidden) {
|
||||
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
||||
} // Intentional fallthrough to next branch
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostText: {
|
||||
// We only need to remove the nearest host child. Set the host parent
|
||||
@@ -18336,10 +18325,8 @@ function commitMutationEffectsOnFiber(finishedWork, root, lanes) {
|
||||
}
|
||||
|
||||
case HostHoistable:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostSingleton:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
case HostComponent: {
|
||||
recursivelyTraverseMutationEffects(root, finishedWork);
|
||||
@@ -19204,7 +19191,6 @@ function commitPassiveMountOnFiber(
|
||||
}
|
||||
|
||||
case TracingMarkerComponent:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraversePassiveMountEffects(
|
||||
@@ -19371,7 +19357,6 @@ function reconnectPassiveEffects(
|
||||
}
|
||||
|
||||
case TracingMarkerComponent:
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
@@ -19445,7 +19430,6 @@ function commitAtomicPassiveEffects(
|
||||
|
||||
break;
|
||||
}
|
||||
// eslint-disable-next-line-no-fallthrough
|
||||
|
||||
default: {
|
||||
recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);
|
||||
@@ -20952,9 +20936,6 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) {
|
||||
case RootFatalErrored: {
|
||||
throw new Error("Root did not complete. This is a bug in React.");
|
||||
}
|
||||
// Flow knows about invariant, so it complains if I add a break
|
||||
// statement, but eslint doesn't know about invariant, so it complains
|
||||
// if I do. eslint-disable-next-line no-fallthrough
|
||||
|
||||
case RootErrored: {
|
||||
// We should have already attempted to retry this tree. If we reached
|
||||
@@ -22018,7 +21999,6 @@ function replaySuspendedUnitOfWork(unitOfWork) {
|
||||
// function component.
|
||||
unitOfWork.tag = FunctionComponent; // Fallthrough to the next branch.
|
||||
}
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
|
||||
case SimpleMemoComponent:
|
||||
case FunctionComponent: {
|
||||
@@ -24179,27 +24159,27 @@ function createFiberFromTypeAndProps(
|
||||
|
||||
case REACT_LEGACY_HIDDEN_TYPE:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_SCOPE_TYPE: {
|
||||
return createFiberFromScope(type, pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_CACHE_TYPE: {
|
||||
return createFiberFromCache(pendingProps, mode, lanes, key);
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_TRACING_MARKER_TYPE:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
case REACT_DEBUG_TRACING_MODE_TYPE:
|
||||
|
||||
// eslint-disable-next-line no-fallthrough
|
||||
// Fall through
|
||||
|
||||
default: {
|
||||
if (typeof type === "object" && type !== null) {
|
||||
@@ -24521,7 +24501,7 @@ function createFiberRoot(
|
||||
return root;
|
||||
}
|
||||
|
||||
var ReactVersion = "18.3.0-www-modern-0b6784ca";
|
||||
var ReactVersion = "18.3.0-www-modern-d63670f9";
|
||||
|
||||
// Might add PROFILE later.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user