react-dom 19.1.0-canary-93b58361-20250209 → 19.1.0-canary-f83903bf-20250212
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +190 -183
- package/cjs/react-dom-client.production.js +43 -43
- package/cjs/react-dom-profiling.development.js +190 -183
- package/cjs/react-dom-profiling.profiling.js +43 -43
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -5903,8 +5903,14 @@
|
|
5903
5903
|
currentStateHook.memoizedState = action;
|
5904
5904
|
return [stateHook, dispatch, !1];
|
5905
5905
|
}
|
5906
|
-
function pushSimpleEffect(tag, inst, create,
|
5907
|
-
tag = {
|
5906
|
+
function pushSimpleEffect(tag, inst, create, createDeps) {
|
5907
|
+
tag = {
|
5908
|
+
tag: tag,
|
5909
|
+
create: create,
|
5910
|
+
deps: createDeps,
|
5911
|
+
inst: inst,
|
5912
|
+
next: null
|
5913
|
+
};
|
5908
5914
|
inst = currentlyRenderingFiber.updateQueue;
|
5909
5915
|
null === inst &&
|
5910
5916
|
((inst = createFunctionComponentUpdateQueue()),
|
@@ -5912,9 +5918,9 @@
|
|
5912
5918
|
create = inst.lastEffect;
|
5913
5919
|
null === create
|
5914
5920
|
? (inst.lastEffect = tag.next = tag)
|
5915
|
-
: ((
|
5921
|
+
: ((createDeps = create.next),
|
5916
5922
|
(create.next = tag),
|
5917
|
-
(tag.next =
|
5923
|
+
(tag.next = createDeps),
|
5918
5924
|
(inst.lastEffect = tag));
|
5919
5925
|
return tag;
|
5920
5926
|
}
|
@@ -5926,15 +5932,15 @@
|
|
5926
5932
|
initialValue = { current: initialValue };
|
5927
5933
|
return (hook.memoizedState = initialValue);
|
5928
5934
|
}
|
5929
|
-
function mountEffectImpl(fiberFlags, hookFlags, create,
|
5935
|
+
function mountEffectImpl(fiberFlags, hookFlags, create, createDeps) {
|
5930
5936
|
var hook = mountWorkInProgressHook();
|
5931
|
-
|
5937
|
+
createDeps = void 0 === createDeps ? null : createDeps;
|
5932
5938
|
currentlyRenderingFiber.flags |= fiberFlags;
|
5933
5939
|
hook.memoizedState = pushSimpleEffect(
|
5934
5940
|
HasEffect | hookFlags,
|
5935
5941
|
createEffectInstance(),
|
5936
5942
|
create,
|
5937
|
-
|
5943
|
+
createDeps
|
5938
5944
|
);
|
5939
5945
|
}
|
5940
5946
|
function updateEffectImpl(fiberFlags, hookFlags, create, deps) {
|
@@ -5953,11 +5959,11 @@
|
|
5953
5959
|
deps
|
5954
5960
|
)));
|
5955
5961
|
}
|
5956
|
-
function mountEffect(create,
|
5962
|
+
function mountEffect(create, createDeps) {
|
5957
5963
|
(currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode &&
|
5958
5964
|
(currentlyRenderingFiber.mode & NoStrictPassiveEffectsMode) === NoMode
|
5959
|
-
? mountEffectImpl(276826112, Passive, create,
|
5960
|
-
: mountEffectImpl(8390656, Passive, create,
|
5965
|
+
? mountEffectImpl(276826112, Passive, create, createDeps)
|
5966
|
+
: mountEffectImpl(8390656, Passive, create, createDeps);
|
5961
5967
|
}
|
5962
5968
|
function mountLayoutEffect(create, deps) {
|
5963
5969
|
var fiberFlags = 4194308;
|
@@ -8865,32 +8871,32 @@
|
|
8865
8871
|
return current;
|
8866
8872
|
}
|
8867
8873
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8868
|
-
var
|
8869
|
-
var
|
8874
|
+
var JSCompiler_object_inline_digest_2425;
|
8875
|
+
var JSCompiler_object_inline_stack_2426 = workInProgress.pendingProps;
|
8870
8876
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8871
|
-
var
|
8877
|
+
var JSCompiler_object_inline_componentStack_2427 = !1;
|
8872
8878
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8873
|
-
(
|
8874
|
-
(
|
8879
|
+
(JSCompiler_object_inline_digest_2425 = didSuspend) ||
|
8880
|
+
(JSCompiler_object_inline_digest_2425 =
|
8875
8881
|
null !== current && null === current.memoizedState
|
8876
8882
|
? !1
|
8877
8883
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8878
|
-
|
8879
|
-
((
|
8884
|
+
JSCompiler_object_inline_digest_2425 &&
|
8885
|
+
((JSCompiler_object_inline_componentStack_2427 = !0),
|
8880
8886
|
(workInProgress.flags &= -129));
|
8881
|
-
|
8887
|
+
JSCompiler_object_inline_digest_2425 = 0 !== (workInProgress.flags & 32);
|
8882
8888
|
workInProgress.flags &= -33;
|
8883
8889
|
if (null === current) {
|
8884
8890
|
if (isHydrating) {
|
8885
|
-
|
8891
|
+
JSCompiler_object_inline_componentStack_2427
|
8886
8892
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8887
8893
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8888
8894
|
if (isHydrating) {
|
8889
|
-
var
|
8895
|
+
var JSCompiler_object_inline_message_2424 = nextHydratableInstance;
|
8890
8896
|
var JSCompiler_temp;
|
8891
|
-
if (!(JSCompiler_temp = !
|
8897
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2424)) {
|
8892
8898
|
c: {
|
8893
|
-
var instance =
|
8899
|
+
var instance = JSCompiler_object_inline_message_2424;
|
8894
8900
|
for (
|
8895
8901
|
JSCompiler_temp = rootOrSingletonContext;
|
8896
8902
|
8 !== instance.nodeType;
|
@@ -8932,77 +8938,77 @@
|
|
8932
8938
|
JSCompiler_temp &&
|
8933
8939
|
(warnNonHydratedInstance(
|
8934
8940
|
workInProgress,
|
8935
|
-
|
8941
|
+
JSCompiler_object_inline_message_2424
|
8936
8942
|
),
|
8937
8943
|
throwOnHydrationMismatch(workInProgress));
|
8938
8944
|
}
|
8939
|
-
|
8945
|
+
JSCompiler_object_inline_message_2424 = workInProgress.memoizedState;
|
8940
8946
|
if (
|
8941
|
-
null !==
|
8942
|
-
((
|
8943
|
-
|
8944
|
-
null !==
|
8947
|
+
null !== JSCompiler_object_inline_message_2424 &&
|
8948
|
+
((JSCompiler_object_inline_message_2424 =
|
8949
|
+
JSCompiler_object_inline_message_2424.dehydrated),
|
8950
|
+
null !== JSCompiler_object_inline_message_2424)
|
8945
8951
|
)
|
8946
8952
|
return (
|
8947
|
-
isSuspenseInstanceFallback(
|
8953
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2424)
|
8948
8954
|
? (workInProgress.lanes = 32)
|
8949
8955
|
: (workInProgress.lanes = 536870912),
|
8950
8956
|
null
|
8951
8957
|
);
|
8952
8958
|
popSuspenseHandler(workInProgress);
|
8953
8959
|
}
|
8954
|
-
|
8955
|
-
|
8956
|
-
|
8957
|
-
|
8958
|
-
if (
|
8960
|
+
JSCompiler_object_inline_message_2424 =
|
8961
|
+
JSCompiler_object_inline_stack_2426.children;
|
8962
|
+
JSCompiler_object_inline_stack_2426 =
|
8963
|
+
JSCompiler_object_inline_stack_2426.fallback;
|
8964
|
+
if (JSCompiler_object_inline_componentStack_2427)
|
8959
8965
|
return (
|
8960
8966
|
reuseSuspenseHandlerOnStack(workInProgress),
|
8961
|
-
(
|
8967
|
+
(JSCompiler_object_inline_componentStack_2427 =
|
8962
8968
|
workInProgress.mode),
|
8963
|
-
(
|
8969
|
+
(JSCompiler_object_inline_message_2424 =
|
8964
8970
|
mountWorkInProgressOffscreenFiber(
|
8965
8971
|
{
|
8966
8972
|
mode: "hidden",
|
8967
|
-
children:
|
8973
|
+
children: JSCompiler_object_inline_message_2424
|
8968
8974
|
},
|
8969
|
-
|
8975
|
+
JSCompiler_object_inline_componentStack_2427
|
8970
8976
|
)),
|
8971
|
-
(
|
8972
|
-
|
8973
|
-
|
8977
|
+
(JSCompiler_object_inline_stack_2426 = createFiberFromFragment(
|
8978
|
+
JSCompiler_object_inline_stack_2426,
|
8979
|
+
JSCompiler_object_inline_componentStack_2427,
|
8974
8980
|
renderLanes,
|
8975
8981
|
null
|
8976
8982
|
)),
|
8977
|
-
(
|
8978
|
-
(
|
8979
|
-
(
|
8980
|
-
|
8981
|
-
(workInProgress.child =
|
8982
|
-
(
|
8983
|
+
(JSCompiler_object_inline_message_2424.return = workInProgress),
|
8984
|
+
(JSCompiler_object_inline_stack_2426.return = workInProgress),
|
8985
|
+
(JSCompiler_object_inline_message_2424.sibling =
|
8986
|
+
JSCompiler_object_inline_stack_2426),
|
8987
|
+
(workInProgress.child = JSCompiler_object_inline_message_2424),
|
8988
|
+
(JSCompiler_object_inline_componentStack_2427 =
|
8983
8989
|
workInProgress.child),
|
8984
|
-
(
|
8990
|
+
(JSCompiler_object_inline_componentStack_2427.memoizedState =
|
8985
8991
|
mountSuspenseOffscreenState(renderLanes)),
|
8986
|
-
(
|
8992
|
+
(JSCompiler_object_inline_componentStack_2427.childLanes =
|
8987
8993
|
getRemainingWorkInPrimaryTree(
|
8988
8994
|
current,
|
8989
|
-
|
8995
|
+
JSCompiler_object_inline_digest_2425,
|
8990
8996
|
renderLanes
|
8991
8997
|
)),
|
8992
8998
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
8993
|
-
|
8999
|
+
JSCompiler_object_inline_stack_2426
|
8994
9000
|
);
|
8995
9001
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
8996
9002
|
return mountSuspensePrimaryChildren(
|
8997
9003
|
workInProgress,
|
8998
|
-
|
9004
|
+
JSCompiler_object_inline_message_2424
|
8999
9005
|
);
|
9000
9006
|
}
|
9001
9007
|
var prevState = current.memoizedState;
|
9002
9008
|
if (
|
9003
9009
|
null !== prevState &&
|
9004
|
-
((
|
9005
|
-
null !==
|
9010
|
+
((JSCompiler_object_inline_message_2424 = prevState.dehydrated),
|
9011
|
+
null !== JSCompiler_object_inline_message_2424)
|
9006
9012
|
) {
|
9007
9013
|
if (didSuspend)
|
9008
9014
|
workInProgress.flags & 256
|
@@ -9019,94 +9025,94 @@
|
|
9019
9025
|
(workInProgress.flags |= 128),
|
9020
9026
|
(workInProgress = null))
|
9021
9027
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9022
|
-
(
|
9023
|
-
|
9024
|
-
(
|
9025
|
-
(
|
9028
|
+
(JSCompiler_object_inline_componentStack_2427 =
|
9029
|
+
JSCompiler_object_inline_stack_2426.fallback),
|
9030
|
+
(JSCompiler_object_inline_message_2424 = workInProgress.mode),
|
9031
|
+
(JSCompiler_object_inline_stack_2426 =
|
9026
9032
|
mountWorkInProgressOffscreenFiber(
|
9027
9033
|
{
|
9028
9034
|
mode: "visible",
|
9029
|
-
children:
|
9035
|
+
children: JSCompiler_object_inline_stack_2426.children
|
9030
9036
|
},
|
9031
|
-
|
9037
|
+
JSCompiler_object_inline_message_2424
|
9032
9038
|
)),
|
9033
|
-
(
|
9039
|
+
(JSCompiler_object_inline_componentStack_2427 =
|
9034
9040
|
createFiberFromFragment(
|
9035
|
-
|
9036
|
-
|
9041
|
+
JSCompiler_object_inline_componentStack_2427,
|
9042
|
+
JSCompiler_object_inline_message_2424,
|
9037
9043
|
renderLanes,
|
9038
9044
|
null
|
9039
9045
|
)),
|
9040
|
-
(
|
9041
|
-
(
|
9042
|
-
(
|
9046
|
+
(JSCompiler_object_inline_componentStack_2427.flags |= 2),
|
9047
|
+
(JSCompiler_object_inline_stack_2426.return = workInProgress),
|
9048
|
+
(JSCompiler_object_inline_componentStack_2427.return =
|
9043
9049
|
workInProgress),
|
9044
|
-
(
|
9045
|
-
|
9046
|
-
(workInProgress.child =
|
9050
|
+
(JSCompiler_object_inline_stack_2426.sibling =
|
9051
|
+
JSCompiler_object_inline_componentStack_2427),
|
9052
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2426),
|
9047
9053
|
reconcileChildFibers(
|
9048
9054
|
workInProgress,
|
9049
9055
|
current.child,
|
9050
9056
|
null,
|
9051
9057
|
renderLanes
|
9052
9058
|
),
|
9053
|
-
(
|
9054
|
-
(
|
9059
|
+
(JSCompiler_object_inline_stack_2426 = workInProgress.child),
|
9060
|
+
(JSCompiler_object_inline_stack_2426.memoizedState =
|
9055
9061
|
mountSuspenseOffscreenState(renderLanes)),
|
9056
|
-
(
|
9062
|
+
(JSCompiler_object_inline_stack_2426.childLanes =
|
9057
9063
|
getRemainingWorkInPrimaryTree(
|
9058
9064
|
current,
|
9059
|
-
|
9065
|
+
JSCompiler_object_inline_digest_2425,
|
9060
9066
|
renderLanes
|
9061
9067
|
)),
|
9062
9068
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9063
9069
|
(workInProgress =
|
9064
|
-
|
9070
|
+
JSCompiler_object_inline_componentStack_2427));
|
9065
9071
|
else if (
|
9066
9072
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9067
9073
|
isHydrating &&
|
9068
9074
|
console.error(
|
9069
9075
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9070
9076
|
),
|
9071
|
-
isSuspenseInstanceFallback(
|
9077
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2424))
|
9072
9078
|
) {
|
9073
|
-
|
9074
|
-
|
9075
|
-
|
9076
|
-
if (
|
9077
|
-
JSCompiler_temp =
|
9078
|
-
var message =
|
9079
|
-
instance =
|
9080
|
-
var componentStack =
|
9079
|
+
JSCompiler_object_inline_digest_2425 =
|
9080
|
+
JSCompiler_object_inline_message_2424.nextSibling &&
|
9081
|
+
JSCompiler_object_inline_message_2424.nextSibling.dataset;
|
9082
|
+
if (JSCompiler_object_inline_digest_2425) {
|
9083
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2425.dgst;
|
9084
|
+
var message = JSCompiler_object_inline_digest_2425.msg;
|
9085
|
+
instance = JSCompiler_object_inline_digest_2425.stck;
|
9086
|
+
var componentStack = JSCompiler_object_inline_digest_2425.cstck;
|
9081
9087
|
}
|
9082
|
-
|
9083
|
-
|
9084
|
-
|
9085
|
-
JSCompiler_temp =
|
9088
|
+
JSCompiler_object_inline_message_2424 = message;
|
9089
|
+
JSCompiler_object_inline_digest_2425 = JSCompiler_temp;
|
9090
|
+
JSCompiler_object_inline_stack_2426 = instance;
|
9091
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2427 =
|
9086
9092
|
componentStack;
|
9087
|
-
|
9088
|
-
|
9089
|
-
? Error(
|
9093
|
+
JSCompiler_object_inline_componentStack_2427 =
|
9094
|
+
JSCompiler_object_inline_message_2424
|
9095
|
+
? Error(JSCompiler_object_inline_message_2424)
|
9090
9096
|
: Error(
|
9091
9097
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9092
9098
|
);
|
9093
|
-
|
9094
|
-
|
9095
|
-
|
9096
|
-
|
9097
|
-
|
9099
|
+
JSCompiler_object_inline_componentStack_2427.stack =
|
9100
|
+
JSCompiler_object_inline_stack_2426 || "";
|
9101
|
+
JSCompiler_object_inline_componentStack_2427.digest =
|
9102
|
+
JSCompiler_object_inline_digest_2425;
|
9103
|
+
JSCompiler_object_inline_digest_2425 =
|
9098
9104
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9099
|
-
|
9100
|
-
value:
|
9105
|
+
JSCompiler_object_inline_stack_2426 = {
|
9106
|
+
value: JSCompiler_object_inline_componentStack_2427,
|
9101
9107
|
source: null,
|
9102
|
-
stack:
|
9108
|
+
stack: JSCompiler_object_inline_digest_2425
|
9103
9109
|
};
|
9104
|
-
"string" === typeof
|
9110
|
+
"string" === typeof JSCompiler_object_inline_digest_2425 &&
|
9105
9111
|
CapturedStacks.set(
|
9106
|
-
|
9107
|
-
|
9112
|
+
JSCompiler_object_inline_componentStack_2427,
|
9113
|
+
JSCompiler_object_inline_stack_2426
|
9108
9114
|
);
|
9109
|
-
queueHydrationError(
|
9115
|
+
queueHydrationError(JSCompiler_object_inline_stack_2426);
|
9110
9116
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9111
9117
|
current,
|
9112
9118
|
workInProgress,
|
@@ -9120,44 +9126,44 @@
|
|
9120
9126
|
renderLanes,
|
9121
9127
|
!1
|
9122
9128
|
),
|
9123
|
-
(
|
9129
|
+
(JSCompiler_object_inline_digest_2425 =
|
9124
9130
|
0 !== (renderLanes & current.childLanes)),
|
9125
|
-
didReceiveUpdate ||
|
9131
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2425)
|
9126
9132
|
) {
|
9127
|
-
|
9133
|
+
JSCompiler_object_inline_digest_2425 = workInProgressRoot;
|
9128
9134
|
if (
|
9129
|
-
null !==
|
9130
|
-
((
|
9131
|
-
(
|
9132
|
-
0 !== (
|
9135
|
+
null !== JSCompiler_object_inline_digest_2425 &&
|
9136
|
+
((JSCompiler_object_inline_stack_2426 = renderLanes & -renderLanes),
|
9137
|
+
(JSCompiler_object_inline_stack_2426 =
|
9138
|
+
0 !== (JSCompiler_object_inline_stack_2426 & 42)
|
9133
9139
|
? 1
|
9134
9140
|
: getBumpedLaneForHydrationByLane(
|
9135
|
-
|
9141
|
+
JSCompiler_object_inline_stack_2426
|
9136
9142
|
)),
|
9137
|
-
(
|
9143
|
+
(JSCompiler_object_inline_stack_2426 =
|
9138
9144
|
0 !==
|
9139
|
-
(
|
9140
|
-
(
|
9145
|
+
(JSCompiler_object_inline_stack_2426 &
|
9146
|
+
(JSCompiler_object_inline_digest_2425.suspendedLanes |
|
9141
9147
|
renderLanes))
|
9142
9148
|
? 0
|
9143
|
-
:
|
9144
|
-
0 !==
|
9145
|
-
|
9149
|
+
: JSCompiler_object_inline_stack_2426),
|
9150
|
+
0 !== JSCompiler_object_inline_stack_2426 &&
|
9151
|
+
JSCompiler_object_inline_stack_2426 !== prevState.retryLane)
|
9146
9152
|
)
|
9147
9153
|
throw (
|
9148
|
-
((prevState.retryLane =
|
9154
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2426),
|
9149
9155
|
enqueueConcurrentRenderForLane(
|
9150
9156
|
current,
|
9151
|
-
|
9157
|
+
JSCompiler_object_inline_stack_2426
|
9152
9158
|
),
|
9153
9159
|
scheduleUpdateOnFiber(
|
9154
|
-
|
9160
|
+
JSCompiler_object_inline_digest_2425,
|
9155
9161
|
current,
|
9156
|
-
|
9162
|
+
JSCompiler_object_inline_stack_2426
|
9157
9163
|
),
|
9158
9164
|
SelectiveHydrationException)
|
9159
9165
|
);
|
9160
|
-
|
9166
|
+
JSCompiler_object_inline_message_2424.data ===
|
9161
9167
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9162
9168
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9163
9169
|
current,
|
@@ -9165,14 +9171,14 @@
|
|
9165
9171
|
renderLanes
|
9166
9172
|
);
|
9167
9173
|
} else
|
9168
|
-
|
9174
|
+
JSCompiler_object_inline_message_2424.data ===
|
9169
9175
|
SUSPENSE_PENDING_START_DATA
|
9170
9176
|
? ((workInProgress.flags |= 192),
|
9171
9177
|
(workInProgress.child = current.child),
|
9172
9178
|
(workInProgress = null))
|
9173
9179
|
: ((current = prevState.treeContext),
|
9174
9180
|
(nextHydratableInstance = getNextHydratable(
|
9175
|
-
|
9181
|
+
JSCompiler_object_inline_message_2424.nextSibling
|
9176
9182
|
)),
|
9177
9183
|
(hydrationParentFiber = workInProgress),
|
9178
9184
|
(isHydrating = !0),
|
@@ -9190,57 +9196,57 @@
|
|
9190
9196
|
(treeContextProvider = workInProgress)),
|
9191
9197
|
(workInProgress = mountSuspensePrimaryChildren(
|
9192
9198
|
workInProgress,
|
9193
|
-
|
9199
|
+
JSCompiler_object_inline_stack_2426.children
|
9194
9200
|
)),
|
9195
9201
|
(workInProgress.flags |= 4096));
|
9196
9202
|
return workInProgress;
|
9197
9203
|
}
|
9198
|
-
if (
|
9204
|
+
if (JSCompiler_object_inline_componentStack_2427)
|
9199
9205
|
return (
|
9200
9206
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9201
|
-
(
|
9202
|
-
|
9203
|
-
(
|
9207
|
+
(JSCompiler_object_inline_componentStack_2427 =
|
9208
|
+
JSCompiler_object_inline_stack_2426.fallback),
|
9209
|
+
(JSCompiler_object_inline_message_2424 = workInProgress.mode),
|
9204
9210
|
(JSCompiler_temp = current.child),
|
9205
9211
|
(instance = JSCompiler_temp.sibling),
|
9206
|
-
(
|
9212
|
+
(JSCompiler_object_inline_stack_2426 = createWorkInProgress(
|
9207
9213
|
JSCompiler_temp,
|
9208
9214
|
{
|
9209
9215
|
mode: "hidden",
|
9210
|
-
children:
|
9216
|
+
children: JSCompiler_object_inline_stack_2426.children
|
9211
9217
|
}
|
9212
9218
|
)),
|
9213
|
-
(
|
9219
|
+
(JSCompiler_object_inline_stack_2426.subtreeFlags =
|
9214
9220
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9215
9221
|
null !== instance
|
9216
|
-
? (
|
9222
|
+
? (JSCompiler_object_inline_componentStack_2427 =
|
9217
9223
|
createWorkInProgress(
|
9218
9224
|
instance,
|
9219
|
-
|
9225
|
+
JSCompiler_object_inline_componentStack_2427
|
9220
9226
|
))
|
9221
|
-
: ((
|
9227
|
+
: ((JSCompiler_object_inline_componentStack_2427 =
|
9222
9228
|
createFiberFromFragment(
|
9223
|
-
|
9224
|
-
|
9229
|
+
JSCompiler_object_inline_componentStack_2427,
|
9230
|
+
JSCompiler_object_inline_message_2424,
|
9225
9231
|
renderLanes,
|
9226
9232
|
null
|
9227
9233
|
)),
|
9228
|
-
(
|
9229
|
-
(
|
9234
|
+
(JSCompiler_object_inline_componentStack_2427.flags |= 2)),
|
9235
|
+
(JSCompiler_object_inline_componentStack_2427.return =
|
9230
9236
|
workInProgress),
|
9231
|
-
(
|
9232
|
-
(
|
9233
|
-
|
9234
|
-
(workInProgress.child =
|
9235
|
-
(
|
9236
|
-
|
9237
|
-
(
|
9238
|
-
(
|
9239
|
-
null ===
|
9240
|
-
? (
|
9237
|
+
(JSCompiler_object_inline_stack_2426.return = workInProgress),
|
9238
|
+
(JSCompiler_object_inline_stack_2426.sibling =
|
9239
|
+
JSCompiler_object_inline_componentStack_2427),
|
9240
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2426),
|
9241
|
+
(JSCompiler_object_inline_stack_2426 =
|
9242
|
+
JSCompiler_object_inline_componentStack_2427),
|
9243
|
+
(JSCompiler_object_inline_componentStack_2427 = workInProgress.child),
|
9244
|
+
(JSCompiler_object_inline_message_2424 = current.child.memoizedState),
|
9245
|
+
null === JSCompiler_object_inline_message_2424
|
9246
|
+
? (JSCompiler_object_inline_message_2424 =
|
9241
9247
|
mountSuspenseOffscreenState(renderLanes))
|
9242
9248
|
: ((JSCompiler_temp =
|
9243
|
-
|
9249
|
+
JSCompiler_object_inline_message_2424.cachePool),
|
9244
9250
|
null !== JSCompiler_temp
|
9245
9251
|
? ((instance = CacheContext._currentValue),
|
9246
9252
|
(JSCompiler_temp =
|
@@ -9248,37 +9254,37 @@
|
|
9248
9254
|
? { parent: instance, pool: instance }
|
9249
9255
|
: JSCompiler_temp))
|
9250
9256
|
: (JSCompiler_temp = getSuspendedCache()),
|
9251
|
-
(
|
9257
|
+
(JSCompiler_object_inline_message_2424 = {
|
9252
9258
|
baseLanes:
|
9253
|
-
|
9259
|
+
JSCompiler_object_inline_message_2424.baseLanes | renderLanes,
|
9254
9260
|
cachePool: JSCompiler_temp
|
9255
9261
|
})),
|
9256
|
-
(
|
9257
|
-
|
9258
|
-
(
|
9262
|
+
(JSCompiler_object_inline_componentStack_2427.memoizedState =
|
9263
|
+
JSCompiler_object_inline_message_2424),
|
9264
|
+
(JSCompiler_object_inline_componentStack_2427.childLanes =
|
9259
9265
|
getRemainingWorkInPrimaryTree(
|
9260
9266
|
current,
|
9261
|
-
|
9267
|
+
JSCompiler_object_inline_digest_2425,
|
9262
9268
|
renderLanes
|
9263
9269
|
)),
|
9264
9270
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9265
|
-
|
9271
|
+
JSCompiler_object_inline_stack_2426
|
9266
9272
|
);
|
9267
9273
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9268
9274
|
renderLanes = current.child;
|
9269
9275
|
current = renderLanes.sibling;
|
9270
9276
|
renderLanes = createWorkInProgress(renderLanes, {
|
9271
9277
|
mode: "visible",
|
9272
|
-
children:
|
9278
|
+
children: JSCompiler_object_inline_stack_2426.children
|
9273
9279
|
});
|
9274
9280
|
renderLanes.return = workInProgress;
|
9275
9281
|
renderLanes.sibling = null;
|
9276
9282
|
null !== current &&
|
9277
|
-
((
|
9278
|
-
null ===
|
9283
|
+
((JSCompiler_object_inline_digest_2425 = workInProgress.deletions),
|
9284
|
+
null === JSCompiler_object_inline_digest_2425
|
9279
9285
|
? ((workInProgress.deletions = [current]),
|
9280
9286
|
(workInProgress.flags |= 16))
|
9281
|
-
:
|
9287
|
+
: JSCompiler_object_inline_digest_2425.push(current));
|
9282
9288
|
workInProgress.child = renderLanes;
|
9283
9289
|
workInProgress.memoizedState = null;
|
9284
9290
|
return renderLanes;
|
@@ -10488,10 +10494,11 @@
|
|
10488
10494
|
),
|
10489
10495
|
(flags & Insertion) !== NoFlags &&
|
10490
10496
|
(isRunningInsertionEffect = !0),
|
10497
|
+
(lastEffect = finishedWork),
|
10491
10498
|
runWithFiberInDEV(
|
10492
|
-
|
10499
|
+
lastEffect,
|
10493
10500
|
callDestroyInDEV,
|
10494
|
-
|
10501
|
+
lastEffect,
|
10495
10502
|
nearestMountedAncestor,
|
10496
10503
|
destroy
|
10497
10504
|
),
|
@@ -22796,11 +22803,11 @@
|
|
22796
22803
|
mountHookTypesDev();
|
22797
22804
|
return readContext(context);
|
22798
22805
|
},
|
22799
|
-
useEffect: function (create,
|
22806
|
+
useEffect: function (create, createDeps) {
|
22800
22807
|
currentHookNameInDev = "useEffect";
|
22801
22808
|
mountHookTypesDev();
|
22802
|
-
checkDepsAreArrayDev(
|
22803
|
-
return mountEffect(create,
|
22809
|
+
checkDepsAreArrayDev(createDeps);
|
22810
|
+
return mountEffect(create, createDeps);
|
22804
22811
|
},
|
22805
22812
|
useImperativeHandle: function (ref, create, deps) {
|
22806
22813
|
currentHookNameInDev = "useImperativeHandle";
|
@@ -22930,10 +22937,10 @@
|
|
22930
22937
|
updateHookTypesDev();
|
22931
22938
|
return readContext(context);
|
22932
22939
|
},
|
22933
|
-
useEffect: function (create,
|
22940
|
+
useEffect: function (create, createDeps) {
|
22934
22941
|
currentHookNameInDev = "useEffect";
|
22935
22942
|
updateHookTypesDev();
|
22936
|
-
return mountEffect(create,
|
22943
|
+
return mountEffect(create, createDeps);
|
22937
22944
|
},
|
22938
22945
|
useImperativeHandle: function (ref, create, deps) {
|
22939
22946
|
currentHookNameInDev = "useImperativeHandle";
|
@@ -23059,10 +23066,10 @@
|
|
23059
23066
|
updateHookTypesDev();
|
23060
23067
|
return readContext(context);
|
23061
23068
|
},
|
23062
|
-
useEffect: function (create,
|
23069
|
+
useEffect: function (create, createDeps) {
|
23063
23070
|
currentHookNameInDev = "useEffect";
|
23064
23071
|
updateHookTypesDev();
|
23065
|
-
updateEffectImpl(2048, Passive, create,
|
23072
|
+
updateEffectImpl(2048, Passive, create, createDeps);
|
23066
23073
|
},
|
23067
23074
|
useImperativeHandle: function (ref, create, deps) {
|
23068
23075
|
currentHookNameInDev = "useImperativeHandle";
|
@@ -23188,10 +23195,10 @@
|
|
23188
23195
|
updateHookTypesDev();
|
23189
23196
|
return readContext(context);
|
23190
23197
|
},
|
23191
|
-
useEffect: function (create,
|
23198
|
+
useEffect: function (create, createDeps) {
|
23192
23199
|
currentHookNameInDev = "useEffect";
|
23193
23200
|
updateHookTypesDev();
|
23194
|
-
updateEffectImpl(2048, Passive, create,
|
23201
|
+
updateEffectImpl(2048, Passive, create, createDeps);
|
23195
23202
|
},
|
23196
23203
|
useImperativeHandle: function (ref, create, deps) {
|
23197
23204
|
currentHookNameInDev = "useImperativeHandle";
|
@@ -23323,11 +23330,11 @@
|
|
23323
23330
|
mountHookTypesDev();
|
23324
23331
|
return readContext(context);
|
23325
23332
|
},
|
23326
|
-
useEffect: function (create,
|
23333
|
+
useEffect: function (create, createDeps) {
|
23327
23334
|
currentHookNameInDev = "useEffect";
|
23328
23335
|
warnInvalidHookAccess();
|
23329
23336
|
mountHookTypesDev();
|
23330
|
-
return mountEffect(create,
|
23337
|
+
return mountEffect(create, createDeps);
|
23331
23338
|
},
|
23332
23339
|
useImperativeHandle: function (ref, create, deps) {
|
23333
23340
|
currentHookNameInDev = "useImperativeHandle";
|
@@ -23476,11 +23483,11 @@
|
|
23476
23483
|
updateHookTypesDev();
|
23477
23484
|
return readContext(context);
|
23478
23485
|
},
|
23479
|
-
useEffect: function (create,
|
23486
|
+
useEffect: function (create, createDeps) {
|
23480
23487
|
currentHookNameInDev = "useEffect";
|
23481
23488
|
warnInvalidHookAccess();
|
23482
23489
|
updateHookTypesDev();
|
23483
|
-
updateEffectImpl(2048, Passive, create,
|
23490
|
+
updateEffectImpl(2048, Passive, create, createDeps);
|
23484
23491
|
},
|
23485
23492
|
useImperativeHandle: function (ref, create, deps) {
|
23486
23493
|
currentHookNameInDev = "useImperativeHandle";
|
@@ -23629,11 +23636,11 @@
|
|
23629
23636
|
updateHookTypesDev();
|
23630
23637
|
return readContext(context);
|
23631
23638
|
},
|
23632
|
-
useEffect: function (create,
|
23639
|
+
useEffect: function (create, createDeps) {
|
23633
23640
|
currentHookNameInDev = "useEffect";
|
23634
23641
|
warnInvalidHookAccess();
|
23635
23642
|
updateHookTypesDev();
|
23636
|
-
updateEffectImpl(2048, Passive, create,
|
23643
|
+
updateEffectImpl(2048, Passive, create, createDeps);
|
23637
23644
|
},
|
23638
23645
|
useImperativeHandle: function (ref, create, deps) {
|
23639
23646
|
currentHookNameInDev = "useImperativeHandle";
|
@@ -23847,7 +23854,7 @@
|
|
23847
23854
|
"react-stack-bottom-frame": function (effect) {
|
23848
23855
|
null != effect.resourceKind &&
|
23849
23856
|
console.error(
|
23850
|
-
"Expected only SimpleEffects when
|
23857
|
+
"Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",
|
23851
23858
|
effect.resourceKind
|
23852
23859
|
);
|
23853
23860
|
var create = effect.create;
|
@@ -24658,11 +24665,11 @@
|
|
24658
24665
|
};
|
24659
24666
|
(function () {
|
24660
24667
|
var isomorphicReactPackageVersion = React.version;
|
24661
|
-
if ("19.1.0-canary-
|
24668
|
+
if ("19.1.0-canary-f83903bf-20250212" !== isomorphicReactPackageVersion)
|
24662
24669
|
throw Error(
|
24663
24670
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24664
24671
|
(isomorphicReactPackageVersion +
|
24665
|
-
"\n - react-dom: 19.1.0-canary-
|
24672
|
+
"\n - react-dom: 19.1.0-canary-f83903bf-20250212\nLearn more: https://react.dev/warnings/version-mismatch")
|
24666
24673
|
);
|
24667
24674
|
})();
|
24668
24675
|
("function" === typeof Map &&
|
@@ -24699,10 +24706,10 @@
|
|
24699
24706
|
!(function () {
|
24700
24707
|
var internals = {
|
24701
24708
|
bundleType: 1,
|
24702
|
-
version: "19.1.0-canary-
|
24709
|
+
version: "19.1.0-canary-f83903bf-20250212",
|
24703
24710
|
rendererPackageName: "react-dom",
|
24704
24711
|
currentDispatcherRef: ReactSharedInternals,
|
24705
|
-
reconcilerVersion: "19.1.0-canary-
|
24712
|
+
reconcilerVersion: "19.1.0-canary-f83903bf-20250212"
|
24706
24713
|
};
|
24707
24714
|
internals.overrideHookState = overrideHookState;
|
24708
24715
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -24846,7 +24853,7 @@
|
|
24846
24853
|
listenToAllSupportedEvents(container);
|
24847
24854
|
return new ReactDOMHydrationRoot(initialChildren);
|
24848
24855
|
};
|
24849
|
-
exports.version = "19.1.0-canary-
|
24856
|
+
exports.version = "19.1.0-canary-f83903bf-20250212";
|
24850
24857
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
24851
24858
|
"function" ===
|
24852
24859
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|