react-dom 19.0.0-rc-5b0ef217-20241202 → 19.0.0-rc-de68d2f4-20241204
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 +197 -171
- package/cjs/react-dom-client.production.js +62 -36
- package/cjs/react-dom-profiling.development.js +197 -171
- package/cjs/react-dom-profiling.profiling.js +62 -36
- 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
@@ -7269,7 +7269,7 @@
|
|
7269
7269
|
((state = state.dehydrated),
|
7270
7270
|
null === state ||
|
7271
7271
|
state.data === SUSPENSE_PENDING_START_DATA ||
|
7272
|
-
state
|
7272
|
+
isSuspenseInstanceFallback(state))
|
7273
7273
|
)
|
7274
7274
|
return node;
|
7275
7275
|
} else if (
|
@@ -8696,32 +8696,32 @@
|
|
8696
8696
|
return current;
|
8697
8697
|
}
|
8698
8698
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8699
|
-
var
|
8700
|
-
var
|
8699
|
+
var JSCompiler_object_inline_digest_2321;
|
8700
|
+
var JSCompiler_object_inline_stack_2322 = workInProgress.pendingProps;
|
8701
8701
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8702
|
-
var
|
8702
|
+
var JSCompiler_object_inline_componentStack_2323 = !1;
|
8703
8703
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8704
|
-
(
|
8705
|
-
(
|
8704
|
+
(JSCompiler_object_inline_digest_2321 = didSuspend) ||
|
8705
|
+
(JSCompiler_object_inline_digest_2321 =
|
8706
8706
|
null !== current && null === current.memoizedState
|
8707
8707
|
? !1
|
8708
8708
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8709
|
-
|
8710
|
-
((
|
8709
|
+
JSCompiler_object_inline_digest_2321 &&
|
8710
|
+
((JSCompiler_object_inline_componentStack_2323 = !0),
|
8711
8711
|
(workInProgress.flags &= -129));
|
8712
|
-
|
8712
|
+
JSCompiler_object_inline_digest_2321 = 0 !== (workInProgress.flags & 32);
|
8713
8713
|
workInProgress.flags &= -33;
|
8714
8714
|
if (null === current) {
|
8715
8715
|
if (isHydrating) {
|
8716
|
-
|
8716
|
+
JSCompiler_object_inline_componentStack_2323
|
8717
8717
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8718
8718
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8719
8719
|
if (isHydrating) {
|
8720
|
-
var
|
8720
|
+
var JSCompiler_object_inline_message_2320 = nextHydratableInstance;
|
8721
8721
|
var JSCompiler_temp;
|
8722
|
-
if (!(JSCompiler_temp = !
|
8722
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2320)) {
|
8723
8723
|
c: {
|
8724
|
-
var instance =
|
8724
|
+
var instance = JSCompiler_object_inline_message_2320;
|
8725
8725
|
for (
|
8726
8726
|
JSCompiler_temp = rootOrSingletonContext;
|
8727
8727
|
8 !== instance.nodeType;
|
@@ -8762,78 +8762,77 @@
|
|
8762
8762
|
JSCompiler_temp &&
|
8763
8763
|
(warnNonHydratedInstance(
|
8764
8764
|
workInProgress,
|
8765
|
-
|
8765
|
+
JSCompiler_object_inline_message_2320
|
8766
8766
|
),
|
8767
8767
|
throwOnHydrationMismatch(workInProgress));
|
8768
8768
|
}
|
8769
|
-
|
8769
|
+
JSCompiler_object_inline_message_2320 = workInProgress.memoizedState;
|
8770
8770
|
if (
|
8771
|
-
null !==
|
8772
|
-
((
|
8773
|
-
|
8774
|
-
null !==
|
8771
|
+
null !== JSCompiler_object_inline_message_2320 &&
|
8772
|
+
((JSCompiler_object_inline_message_2320 =
|
8773
|
+
JSCompiler_object_inline_message_2320.dehydrated),
|
8774
|
+
null !== JSCompiler_object_inline_message_2320)
|
8775
8775
|
)
|
8776
8776
|
return (
|
8777
|
-
|
8778
|
-
SUSPENSE_FALLBACK_START_DATA
|
8777
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2320)
|
8779
8778
|
? (workInProgress.lanes = 16)
|
8780
8779
|
: (workInProgress.lanes = 536870912),
|
8781
8780
|
null
|
8782
8781
|
);
|
8783
8782
|
popSuspenseHandler(workInProgress);
|
8784
8783
|
}
|
8785
|
-
|
8786
|
-
|
8787
|
-
|
8788
|
-
|
8789
|
-
if (
|
8784
|
+
JSCompiler_object_inline_message_2320 =
|
8785
|
+
JSCompiler_object_inline_stack_2322.children;
|
8786
|
+
JSCompiler_object_inline_stack_2322 =
|
8787
|
+
JSCompiler_object_inline_stack_2322.fallback;
|
8788
|
+
if (JSCompiler_object_inline_componentStack_2323)
|
8790
8789
|
return (
|
8791
8790
|
reuseSuspenseHandlerOnStack(workInProgress),
|
8792
|
-
(
|
8791
|
+
(JSCompiler_object_inline_componentStack_2323 =
|
8793
8792
|
workInProgress.mode),
|
8794
|
-
(
|
8793
|
+
(JSCompiler_object_inline_message_2320 =
|
8795
8794
|
mountWorkInProgressOffscreenFiber(
|
8796
8795
|
{
|
8797
8796
|
mode: "hidden",
|
8798
|
-
children:
|
8797
|
+
children: JSCompiler_object_inline_message_2320
|
8799
8798
|
},
|
8800
|
-
|
8799
|
+
JSCompiler_object_inline_componentStack_2323
|
8801
8800
|
)),
|
8802
|
-
(
|
8803
|
-
|
8804
|
-
|
8801
|
+
(JSCompiler_object_inline_stack_2322 = createFiberFromFragment(
|
8802
|
+
JSCompiler_object_inline_stack_2322,
|
8803
|
+
JSCompiler_object_inline_componentStack_2323,
|
8805
8804
|
renderLanes,
|
8806
8805
|
null
|
8807
8806
|
)),
|
8808
|
-
(
|
8809
|
-
(
|
8810
|
-
(
|
8811
|
-
|
8812
|
-
(workInProgress.child =
|
8813
|
-
(
|
8807
|
+
(JSCompiler_object_inline_message_2320.return = workInProgress),
|
8808
|
+
(JSCompiler_object_inline_stack_2322.return = workInProgress),
|
8809
|
+
(JSCompiler_object_inline_message_2320.sibling =
|
8810
|
+
JSCompiler_object_inline_stack_2322),
|
8811
|
+
(workInProgress.child = JSCompiler_object_inline_message_2320),
|
8812
|
+
(JSCompiler_object_inline_componentStack_2323 =
|
8814
8813
|
workInProgress.child),
|
8815
|
-
(
|
8814
|
+
(JSCompiler_object_inline_componentStack_2323.memoizedState =
|
8816
8815
|
mountSuspenseOffscreenState(renderLanes)),
|
8817
|
-
(
|
8816
|
+
(JSCompiler_object_inline_componentStack_2323.childLanes =
|
8818
8817
|
getRemainingWorkInPrimaryTree(
|
8819
8818
|
current,
|
8820
|
-
|
8819
|
+
JSCompiler_object_inline_digest_2321,
|
8821
8820
|
renderLanes
|
8822
8821
|
)),
|
8823
8822
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
8824
|
-
|
8823
|
+
JSCompiler_object_inline_stack_2322
|
8825
8824
|
);
|
8826
8825
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
8827
8826
|
return mountSuspensePrimaryChildren(
|
8828
8827
|
workInProgress,
|
8829
|
-
|
8828
|
+
JSCompiler_object_inline_message_2320
|
8830
8829
|
);
|
8831
8830
|
}
|
8832
8831
|
var prevState = current.memoizedState;
|
8833
8832
|
if (
|
8834
8833
|
null !== prevState &&
|
8835
|
-
((
|
8836
|
-
null !==
|
8834
|
+
((JSCompiler_object_inline_message_2320 = prevState.dehydrated),
|
8835
|
+
null !== JSCompiler_object_inline_message_2320)
|
8837
8836
|
) {
|
8838
8837
|
if (didSuspend)
|
8839
8838
|
workInProgress.flags & 256
|
@@ -8850,95 +8849,94 @@
|
|
8850
8849
|
(workInProgress.flags |= 128),
|
8851
8850
|
(workInProgress = null))
|
8852
8851
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
8853
|
-
(
|
8854
|
-
|
8855
|
-
(
|
8856
|
-
(
|
8852
|
+
(JSCompiler_object_inline_componentStack_2323 =
|
8853
|
+
JSCompiler_object_inline_stack_2322.fallback),
|
8854
|
+
(JSCompiler_object_inline_message_2320 = workInProgress.mode),
|
8855
|
+
(JSCompiler_object_inline_stack_2322 =
|
8857
8856
|
mountWorkInProgressOffscreenFiber(
|
8858
8857
|
{
|
8859
8858
|
mode: "visible",
|
8860
|
-
children:
|
8859
|
+
children: JSCompiler_object_inline_stack_2322.children
|
8861
8860
|
},
|
8862
|
-
|
8861
|
+
JSCompiler_object_inline_message_2320
|
8863
8862
|
)),
|
8864
|
-
(
|
8863
|
+
(JSCompiler_object_inline_componentStack_2323 =
|
8865
8864
|
createFiberFromFragment(
|
8866
|
-
|
8867
|
-
|
8865
|
+
JSCompiler_object_inline_componentStack_2323,
|
8866
|
+
JSCompiler_object_inline_message_2320,
|
8868
8867
|
renderLanes,
|
8869
8868
|
null
|
8870
8869
|
)),
|
8871
|
-
(
|
8872
|
-
(
|
8873
|
-
(
|
8870
|
+
(JSCompiler_object_inline_componentStack_2323.flags |= 2),
|
8871
|
+
(JSCompiler_object_inline_stack_2322.return = workInProgress),
|
8872
|
+
(JSCompiler_object_inline_componentStack_2323.return =
|
8874
8873
|
workInProgress),
|
8875
|
-
(
|
8876
|
-
|
8877
|
-
(workInProgress.child =
|
8874
|
+
(JSCompiler_object_inline_stack_2322.sibling =
|
8875
|
+
JSCompiler_object_inline_componentStack_2323),
|
8876
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2322),
|
8878
8877
|
reconcileChildFibers(
|
8879
8878
|
workInProgress,
|
8880
8879
|
current.child,
|
8881
8880
|
null,
|
8882
8881
|
renderLanes
|
8883
8882
|
),
|
8884
|
-
(
|
8885
|
-
(
|
8883
|
+
(JSCompiler_object_inline_stack_2322 = workInProgress.child),
|
8884
|
+
(JSCompiler_object_inline_stack_2322.memoizedState =
|
8886
8885
|
mountSuspenseOffscreenState(renderLanes)),
|
8887
|
-
(
|
8886
|
+
(JSCompiler_object_inline_stack_2322.childLanes =
|
8888
8887
|
getRemainingWorkInPrimaryTree(
|
8889
8888
|
current,
|
8890
|
-
|
8889
|
+
JSCompiler_object_inline_digest_2321,
|
8891
8890
|
renderLanes
|
8892
8891
|
)),
|
8893
8892
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
8894
8893
|
(workInProgress =
|
8895
|
-
|
8894
|
+
JSCompiler_object_inline_componentStack_2323));
|
8896
8895
|
else if (
|
8897
8896
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
8898
8897
|
isHydrating &&
|
8899
8898
|
console.error(
|
8900
8899
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
8901
8900
|
),
|
8902
|
-
|
8903
|
-
SUSPENSE_FALLBACK_START_DATA)
|
8901
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2320))
|
8904
8902
|
) {
|
8905
|
-
|
8906
|
-
|
8907
|
-
|
8908
|
-
if (
|
8909
|
-
JSCompiler_temp =
|
8910
|
-
var message =
|
8911
|
-
instance =
|
8912
|
-
var componentStack =
|
8903
|
+
JSCompiler_object_inline_digest_2321 =
|
8904
|
+
JSCompiler_object_inline_message_2320.nextSibling &&
|
8905
|
+
JSCompiler_object_inline_message_2320.nextSibling.dataset;
|
8906
|
+
if (JSCompiler_object_inline_digest_2321) {
|
8907
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2321.dgst;
|
8908
|
+
var message = JSCompiler_object_inline_digest_2321.msg;
|
8909
|
+
instance = JSCompiler_object_inline_digest_2321.stck;
|
8910
|
+
var componentStack = JSCompiler_object_inline_digest_2321.cstck;
|
8913
8911
|
}
|
8914
|
-
|
8915
|
-
|
8916
|
-
|
8917
|
-
JSCompiler_temp =
|
8912
|
+
JSCompiler_object_inline_message_2320 = message;
|
8913
|
+
JSCompiler_object_inline_digest_2321 = JSCompiler_temp;
|
8914
|
+
JSCompiler_object_inline_stack_2322 = instance;
|
8915
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2323 =
|
8918
8916
|
componentStack;
|
8919
|
-
|
8920
|
-
|
8921
|
-
? Error(
|
8917
|
+
JSCompiler_object_inline_componentStack_2323 =
|
8918
|
+
JSCompiler_object_inline_message_2320
|
8919
|
+
? Error(JSCompiler_object_inline_message_2320)
|
8922
8920
|
: Error(
|
8923
8921
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
8924
8922
|
);
|
8925
|
-
|
8926
|
-
|
8927
|
-
|
8928
|
-
|
8929
|
-
|
8923
|
+
JSCompiler_object_inline_componentStack_2323.stack =
|
8924
|
+
JSCompiler_object_inline_stack_2322 || "";
|
8925
|
+
JSCompiler_object_inline_componentStack_2323.digest =
|
8926
|
+
JSCompiler_object_inline_digest_2321;
|
8927
|
+
JSCompiler_object_inline_digest_2321 =
|
8930
8928
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
8931
|
-
|
8932
|
-
value:
|
8929
|
+
JSCompiler_object_inline_stack_2322 = {
|
8930
|
+
value: JSCompiler_object_inline_componentStack_2323,
|
8933
8931
|
source: null,
|
8934
|
-
stack:
|
8932
|
+
stack: JSCompiler_object_inline_digest_2321
|
8935
8933
|
};
|
8936
|
-
"string" === typeof
|
8934
|
+
"string" === typeof JSCompiler_object_inline_digest_2321 &&
|
8937
8935
|
CapturedStacks.set(
|
8938
|
-
|
8939
|
-
|
8936
|
+
JSCompiler_object_inline_componentStack_2323,
|
8937
|
+
JSCompiler_object_inline_stack_2322
|
8940
8938
|
);
|
8941
|
-
queueHydrationError(
|
8939
|
+
queueHydrationError(JSCompiler_object_inline_stack_2322);
|
8942
8940
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
8943
8941
|
current,
|
8944
8942
|
workInProgress,
|
@@ -8952,25 +8950,25 @@
|
|
8952
8950
|
renderLanes,
|
8953
8951
|
!1
|
8954
8952
|
),
|
8955
|
-
(
|
8953
|
+
(JSCompiler_object_inline_digest_2321 =
|
8956
8954
|
0 !== (renderLanes & current.childLanes)),
|
8957
|
-
didReceiveUpdate ||
|
8955
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2321)
|
8958
8956
|
) {
|
8959
|
-
|
8960
|
-
if (null !==
|
8961
|
-
|
8962
|
-
if (0 !== (
|
8963
|
-
|
8957
|
+
JSCompiler_object_inline_digest_2321 = workInProgressRoot;
|
8958
|
+
if (null !== JSCompiler_object_inline_digest_2321) {
|
8959
|
+
JSCompiler_object_inline_stack_2322 = renderLanes & -renderLanes;
|
8960
|
+
if (0 !== (JSCompiler_object_inline_stack_2322 & 42))
|
8961
|
+
JSCompiler_object_inline_stack_2322 = 1;
|
8964
8962
|
else
|
8965
|
-
switch (
|
8963
|
+
switch (JSCompiler_object_inline_stack_2322) {
|
8966
8964
|
case 2:
|
8967
|
-
|
8965
|
+
JSCompiler_object_inline_stack_2322 = 1;
|
8968
8966
|
break;
|
8969
8967
|
case 8:
|
8970
|
-
|
8968
|
+
JSCompiler_object_inline_stack_2322 = 4;
|
8971
8969
|
break;
|
8972
8970
|
case 32:
|
8973
|
-
|
8971
|
+
JSCompiler_object_inline_stack_2322 = 16;
|
8974
8972
|
break;
|
8975
8973
|
case 128:
|
8976
8974
|
case 256:
|
@@ -8991,40 +8989,40 @@
|
|
8991
8989
|
case 8388608:
|
8992
8990
|
case 16777216:
|
8993
8991
|
case 33554432:
|
8994
|
-
|
8992
|
+
JSCompiler_object_inline_stack_2322 = 64;
|
8995
8993
|
break;
|
8996
8994
|
case 268435456:
|
8997
|
-
|
8995
|
+
JSCompiler_object_inline_stack_2322 = 134217728;
|
8998
8996
|
break;
|
8999
8997
|
default:
|
9000
|
-
|
8998
|
+
JSCompiler_object_inline_stack_2322 = 0;
|
9001
8999
|
}
|
9002
|
-
|
9000
|
+
JSCompiler_object_inline_stack_2322 =
|
9003
9001
|
0 !==
|
9004
|
-
(
|
9005
|
-
(
|
9002
|
+
(JSCompiler_object_inline_stack_2322 &
|
9003
|
+
(JSCompiler_object_inline_digest_2321.suspendedLanes |
|
9006
9004
|
renderLanes))
|
9007
9005
|
? 0
|
9008
|
-
:
|
9006
|
+
: JSCompiler_object_inline_stack_2322;
|
9009
9007
|
if (
|
9010
|
-
0 !==
|
9011
|
-
|
9008
|
+
0 !== JSCompiler_object_inline_stack_2322 &&
|
9009
|
+
JSCompiler_object_inline_stack_2322 !== prevState.retryLane
|
9012
9010
|
)
|
9013
9011
|
throw (
|
9014
|
-
((prevState.retryLane =
|
9012
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2322),
|
9015
9013
|
enqueueConcurrentRenderForLane(
|
9016
9014
|
current,
|
9017
|
-
|
9015
|
+
JSCompiler_object_inline_stack_2322
|
9018
9016
|
),
|
9019
9017
|
scheduleUpdateOnFiber(
|
9020
|
-
|
9018
|
+
JSCompiler_object_inline_digest_2321,
|
9021
9019
|
current,
|
9022
|
-
|
9020
|
+
JSCompiler_object_inline_stack_2322
|
9023
9021
|
),
|
9024
9022
|
SelectiveHydrationException)
|
9025
9023
|
);
|
9026
9024
|
}
|
9027
|
-
|
9025
|
+
JSCompiler_object_inline_message_2320.data ===
|
9028
9026
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9029
9027
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9030
9028
|
current,
|
@@ -9032,20 +9030,14 @@
|
|
9032
9030
|
renderLanes
|
9033
9031
|
);
|
9034
9032
|
} else
|
9035
|
-
|
9033
|
+
JSCompiler_object_inline_message_2320.data ===
|
9036
9034
|
SUSPENSE_PENDING_START_DATA
|
9037
|
-
? ((workInProgress.flags |=
|
9035
|
+
? ((workInProgress.flags |= 192),
|
9038
9036
|
(workInProgress.child = current.child),
|
9039
|
-
(workInProgress = retryDehydratedSuspenseBoundary.bind(
|
9040
|
-
null,
|
9041
|
-
current
|
9042
|
-
)),
|
9043
|
-
(JSCompiler_object_inline_message_2327._reactRetry =
|
9044
|
-
workInProgress),
|
9045
9037
|
(workInProgress = null))
|
9046
9038
|
: ((current = prevState.treeContext),
|
9047
9039
|
(nextHydratableInstance = getNextHydratable(
|
9048
|
-
|
9040
|
+
JSCompiler_object_inline_message_2320.nextSibling
|
9049
9041
|
)),
|
9050
9042
|
(hydrationParentFiber = workInProgress),
|
9051
9043
|
(isHydrating = !0),
|
@@ -9063,57 +9055,57 @@
|
|
9063
9055
|
(treeContextProvider = workInProgress)),
|
9064
9056
|
(workInProgress = mountSuspensePrimaryChildren(
|
9065
9057
|
workInProgress,
|
9066
|
-
|
9058
|
+
JSCompiler_object_inline_stack_2322.children
|
9067
9059
|
)),
|
9068
9060
|
(workInProgress.flags |= 4096));
|
9069
9061
|
return workInProgress;
|
9070
9062
|
}
|
9071
|
-
if (
|
9063
|
+
if (JSCompiler_object_inline_componentStack_2323)
|
9072
9064
|
return (
|
9073
9065
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9074
|
-
(
|
9075
|
-
|
9076
|
-
(
|
9066
|
+
(JSCompiler_object_inline_componentStack_2323 =
|
9067
|
+
JSCompiler_object_inline_stack_2322.fallback),
|
9068
|
+
(JSCompiler_object_inline_message_2320 = workInProgress.mode),
|
9077
9069
|
(JSCompiler_temp = current.child),
|
9078
9070
|
(instance = JSCompiler_temp.sibling),
|
9079
|
-
(
|
9071
|
+
(JSCompiler_object_inline_stack_2322 = createWorkInProgress(
|
9080
9072
|
JSCompiler_temp,
|
9081
9073
|
{
|
9082
9074
|
mode: "hidden",
|
9083
|
-
children:
|
9075
|
+
children: JSCompiler_object_inline_stack_2322.children
|
9084
9076
|
}
|
9085
9077
|
)),
|
9086
|
-
(
|
9078
|
+
(JSCompiler_object_inline_stack_2322.subtreeFlags =
|
9087
9079
|
JSCompiler_temp.subtreeFlags & 31457280),
|
9088
9080
|
null !== instance
|
9089
|
-
? (
|
9081
|
+
? (JSCompiler_object_inline_componentStack_2323 =
|
9090
9082
|
createWorkInProgress(
|
9091
9083
|
instance,
|
9092
|
-
|
9084
|
+
JSCompiler_object_inline_componentStack_2323
|
9093
9085
|
))
|
9094
|
-
: ((
|
9086
|
+
: ((JSCompiler_object_inline_componentStack_2323 =
|
9095
9087
|
createFiberFromFragment(
|
9096
|
-
|
9097
|
-
|
9088
|
+
JSCompiler_object_inline_componentStack_2323,
|
9089
|
+
JSCompiler_object_inline_message_2320,
|
9098
9090
|
renderLanes,
|
9099
9091
|
null
|
9100
9092
|
)),
|
9101
|
-
(
|
9102
|
-
(
|
9093
|
+
(JSCompiler_object_inline_componentStack_2323.flags |= 2)),
|
9094
|
+
(JSCompiler_object_inline_componentStack_2323.return =
|
9103
9095
|
workInProgress),
|
9104
|
-
(
|
9105
|
-
(
|
9106
|
-
|
9107
|
-
(workInProgress.child =
|
9108
|
-
(
|
9109
|
-
|
9110
|
-
(
|
9111
|
-
(
|
9112
|
-
null ===
|
9113
|
-
? (
|
9096
|
+
(JSCompiler_object_inline_stack_2322.return = workInProgress),
|
9097
|
+
(JSCompiler_object_inline_stack_2322.sibling =
|
9098
|
+
JSCompiler_object_inline_componentStack_2323),
|
9099
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2322),
|
9100
|
+
(JSCompiler_object_inline_stack_2322 =
|
9101
|
+
JSCompiler_object_inline_componentStack_2323),
|
9102
|
+
(JSCompiler_object_inline_componentStack_2323 = workInProgress.child),
|
9103
|
+
(JSCompiler_object_inline_message_2320 = current.child.memoizedState),
|
9104
|
+
null === JSCompiler_object_inline_message_2320
|
9105
|
+
? (JSCompiler_object_inline_message_2320 =
|
9114
9106
|
mountSuspenseOffscreenState(renderLanes))
|
9115
9107
|
: ((JSCompiler_temp =
|
9116
|
-
|
9108
|
+
JSCompiler_object_inline_message_2320.cachePool),
|
9117
9109
|
null !== JSCompiler_temp
|
9118
9110
|
? ((instance = CacheContext._currentValue),
|
9119
9111
|
(JSCompiler_temp =
|
@@ -9121,37 +9113,37 @@
|
|
9121
9113
|
? { parent: instance, pool: instance }
|
9122
9114
|
: JSCompiler_temp))
|
9123
9115
|
: (JSCompiler_temp = getSuspendedCache()),
|
9124
|
-
(
|
9116
|
+
(JSCompiler_object_inline_message_2320 = {
|
9125
9117
|
baseLanes:
|
9126
|
-
|
9118
|
+
JSCompiler_object_inline_message_2320.baseLanes | renderLanes,
|
9127
9119
|
cachePool: JSCompiler_temp
|
9128
9120
|
})),
|
9129
|
-
(
|
9130
|
-
|
9131
|
-
(
|
9121
|
+
(JSCompiler_object_inline_componentStack_2323.memoizedState =
|
9122
|
+
JSCompiler_object_inline_message_2320),
|
9123
|
+
(JSCompiler_object_inline_componentStack_2323.childLanes =
|
9132
9124
|
getRemainingWorkInPrimaryTree(
|
9133
9125
|
current,
|
9134
|
-
|
9126
|
+
JSCompiler_object_inline_digest_2321,
|
9135
9127
|
renderLanes
|
9136
9128
|
)),
|
9137
9129
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9138
|
-
|
9130
|
+
JSCompiler_object_inline_stack_2322
|
9139
9131
|
);
|
9140
9132
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9141
9133
|
renderLanes = current.child;
|
9142
9134
|
current = renderLanes.sibling;
|
9143
9135
|
renderLanes = createWorkInProgress(renderLanes, {
|
9144
9136
|
mode: "visible",
|
9145
|
-
children:
|
9137
|
+
children: JSCompiler_object_inline_stack_2322.children
|
9146
9138
|
});
|
9147
9139
|
renderLanes.return = workInProgress;
|
9148
9140
|
renderLanes.sibling = null;
|
9149
9141
|
null !== current &&
|
9150
|
-
((
|
9151
|
-
null ===
|
9142
|
+
((JSCompiler_object_inline_digest_2321 = workInProgress.deletions),
|
9143
|
+
null === JSCompiler_object_inline_digest_2321
|
9152
9144
|
? ((workInProgress.deletions = [current]),
|
9153
9145
|
(workInProgress.flags |= 16))
|
9154
|
-
:
|
9146
|
+
: JSCompiler_object_inline_digest_2321.push(current));
|
9155
9147
|
workInProgress.child = renderLanes;
|
9156
9148
|
workInProgress.memoizedState = null;
|
9157
9149
|
return renderLanes;
|
@@ -11575,6 +11567,16 @@
|
|
11575
11567
|
recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
11576
11568
|
flags & 4 &&
|
11577
11569
|
commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
|
11570
|
+
flags & 64 &&
|
11571
|
+
((finishedRoot = finishedWork.memoizedState),
|
11572
|
+
null !== finishedRoot &&
|
11573
|
+
((finishedRoot = finishedRoot.dehydrated),
|
11574
|
+
null !== finishedRoot &&
|
11575
|
+
((finishedWork = retryDehydratedSuspenseBoundary.bind(
|
11576
|
+
null,
|
11577
|
+
finishedWork
|
11578
|
+
)),
|
11579
|
+
registerSuspenseInstanceRetry(finishedRoot, finishedWork))));
|
11578
11580
|
break;
|
11579
11581
|
case 22:
|
11580
11582
|
prevProps =
|
@@ -19259,6 +19261,29 @@
|
|
19259
19261
|
}
|
19260
19262
|
return instance;
|
19261
19263
|
}
|
19264
|
+
function isSuspenseInstanceFallback(instance) {
|
19265
|
+
return (
|
19266
|
+
instance.data === SUSPENSE_FALLBACK_START_DATA ||
|
19267
|
+
(instance.data === SUSPENSE_PENDING_START_DATA &&
|
19268
|
+
instance.ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE)
|
19269
|
+
);
|
19270
|
+
}
|
19271
|
+
function registerSuspenseInstanceRetry(instance, callback) {
|
19272
|
+
var ownerDocument = instance.ownerDocument;
|
19273
|
+
if (
|
19274
|
+
instance.data !== SUSPENSE_PENDING_START_DATA ||
|
19275
|
+
ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE
|
19276
|
+
)
|
19277
|
+
callback();
|
19278
|
+
else {
|
19279
|
+
var listener = function () {
|
19280
|
+
callback();
|
19281
|
+
ownerDocument.removeEventListener("DOMContentLoaded", listener);
|
19282
|
+
};
|
19283
|
+
ownerDocument.addEventListener("DOMContentLoaded", listener);
|
19284
|
+
instance._reactRetry = listener;
|
19285
|
+
}
|
19286
|
+
}
|
19262
19287
|
function getNextHydratable(node) {
|
19263
19288
|
for (; null != node; node = node.nextSibling) {
|
19264
19289
|
var nodeType = node.nodeType;
|
@@ -24158,6 +24183,7 @@
|
|
24158
24183
|
SUSPENSE_FALLBACK_START_DATA = "$!",
|
24159
24184
|
FORM_STATE_IS_MATCHING = "F!",
|
24160
24185
|
FORM_STATE_IS_NOT_MATCHING = "F",
|
24186
|
+
DOCUMENT_READY_STATE_COMPLETE = "complete",
|
24161
24187
|
STYLE = "style",
|
24162
24188
|
HostContextNamespaceNone = 0,
|
24163
24189
|
HostContextNamespaceSvg = 1,
|
@@ -24606,11 +24632,11 @@
|
|
24606
24632
|
};
|
24607
24633
|
(function () {
|
24608
24634
|
var isomorphicReactPackageVersion = React.version;
|
24609
|
-
if ("19.0.0-rc-
|
24635
|
+
if ("19.0.0-rc-de68d2f4-20241204" !== isomorphicReactPackageVersion)
|
24610
24636
|
throw Error(
|
24611
24637
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24612
24638
|
(isomorphicReactPackageVersion +
|
24613
|
-
"\n - react-dom: 19.0.0-rc-
|
24639
|
+
"\n - react-dom: 19.0.0-rc-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch")
|
24614
24640
|
);
|
24615
24641
|
})();
|
24616
24642
|
("function" === typeof Map &&
|
@@ -24647,11 +24673,11 @@
|
|
24647
24673
|
!(function () {
|
24648
24674
|
var internals = {
|
24649
24675
|
bundleType: 1,
|
24650
|
-
version: "19.0.0-rc-
|
24676
|
+
version: "19.0.0-rc-de68d2f4-20241204",
|
24651
24677
|
rendererPackageName: "react-dom",
|
24652
24678
|
currentDispatcherRef: ReactSharedInternals,
|
24653
24679
|
findFiberByHostInstance: getClosestInstanceFromNode,
|
24654
|
-
reconcilerVersion: "19.0.0-rc-
|
24680
|
+
reconcilerVersion: "19.0.0-rc-de68d2f4-20241204"
|
24655
24681
|
};
|
24656
24682
|
internals.overrideHookState = overrideHookState;
|
24657
24683
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25125,7 +25151,7 @@
|
|
25125
25151
|
exports.useFormStatus = function () {
|
25126
25152
|
return resolveDispatcher().useHostTransitionStatus();
|
25127
25153
|
};
|
25128
|
-
exports.version = "19.0.0-rc-
|
25154
|
+
exports.version = "19.0.0-rc-de68d2f4-20241204";
|
25129
25155
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25130
25156
|
"function" ===
|
25131
25157
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|