react-dom 19.2.0-canary-c4676e72-20250520 → 19.2.0-canary-23884812-20250520
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 +5 -5
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +5 -5
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +238 -162
- package/cjs/react-dom-server-legacy.browser.production.js +233 -178
- package/cjs/react-dom-server-legacy.node.development.js +238 -162
- package/cjs/react-dom-server-legacy.node.production.js +233 -178
- package/cjs/react-dom-server.browser.development.js +223 -128
- package/cjs/react-dom-server.browser.production.js +201 -124
- package/cjs/react-dom-server.bun.development.js +199 -116
- package/cjs/react-dom-server.bun.production.js +204 -127
- package/cjs/react-dom-server.edge.development.js +223 -128
- package/cjs/react-dom-server.edge.production.js +201 -124
- package/cjs/react-dom-server.node.development.js +223 -128
- package/cjs/react-dom-server.node.production.js +201 -124
- 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
@@ -3704,6 +3704,10 @@
|
|
3704
3704
|
function hoistStylesheetDependency(stylesheet) {
|
3705
3705
|
this.stylesheets.add(stylesheet);
|
3706
3706
|
}
|
3707
|
+
function hoistHoistables(parentState, childState) {
|
3708
|
+
childState.styles.forEach(hoistStyleQueueDependency, parentState);
|
3709
|
+
childState.stylesheets.forEach(hoistStylesheetDependency, parentState);
|
3710
|
+
}
|
3707
3711
|
function getComponentNameFromType(type) {
|
3708
3712
|
if (null == type) return null;
|
3709
3713
|
if ("function" === typeof type)
|
@@ -4687,11 +4691,14 @@
|
|
4687
4691
|
};
|
4688
4692
|
null !== row &&
|
4689
4693
|
(row.pendingTasks++,
|
4690
|
-
(
|
4691
|
-
null !==
|
4694
|
+
(contentPreamble = row.boundaries),
|
4695
|
+
null !== contentPreamble &&
|
4692
4696
|
(request.allPendingTasks++,
|
4693
4697
|
fallbackAbortableTasks.pendingTasks++,
|
4694
|
-
|
4698
|
+
contentPreamble.push(fallbackAbortableTasks)),
|
4699
|
+
(request = row.inheritedHoistables),
|
4700
|
+
null !== request &&
|
4701
|
+
hoistHoistables(fallbackAbortableTasks.contentState, request));
|
4695
4702
|
return fallbackAbortableTasks;
|
4696
4703
|
}
|
4697
4704
|
function createRenderTask(
|
@@ -4970,20 +4977,70 @@
|
|
4970
4977
|
: ((request.status = 13), (request.fatalError = error));
|
4971
4978
|
}
|
4972
4979
|
function finishSuspenseListRow(request, row) {
|
4973
|
-
|
4974
|
-
|
4980
|
+
unblockSuspenseListRow(request, row.next, row.hoistables);
|
4981
|
+
}
|
4982
|
+
function unblockSuspenseListRow(
|
4983
|
+
request,
|
4984
|
+
unblockedRow,
|
4985
|
+
inheritedHoistables
|
4986
|
+
) {
|
4987
|
+
for (; null !== unblockedRow; ) {
|
4988
|
+
null !== inheritedHoistables &&
|
4989
|
+
(hoistHoistables(unblockedRow.hoistables, inheritedHoistables),
|
4990
|
+
(unblockedRow.inheritedHoistables = inheritedHoistables));
|
4991
|
+
var unblockedBoundaries = unblockedRow.boundaries;
|
4975
4992
|
if (null !== unblockedBoundaries) {
|
4976
|
-
|
4977
|
-
for (var i = 0; i < unblockedBoundaries.length; i++)
|
4978
|
-
|
4993
|
+
unblockedRow.boundaries = null;
|
4994
|
+
for (var i = 0; i < unblockedBoundaries.length; i++) {
|
4995
|
+
var unblockedBoundary = unblockedBoundaries[i];
|
4996
|
+
null !== inheritedHoistables &&
|
4997
|
+
hoistHoistables(
|
4998
|
+
unblockedBoundary.contentState,
|
4999
|
+
inheritedHoistables
|
5000
|
+
);
|
5001
|
+
finishedTask(request, unblockedBoundary, null, null);
|
5002
|
+
}
|
5003
|
+
}
|
5004
|
+
unblockedRow.pendingTasks--;
|
5005
|
+
if (0 < unblockedRow.pendingTasks) break;
|
5006
|
+
inheritedHoistables = unblockedRow.hoistables;
|
5007
|
+
unblockedRow = unblockedRow.next;
|
5008
|
+
}
|
5009
|
+
}
|
5010
|
+
function tryToResolveTogetherRow(request, togetherRow) {
|
5011
|
+
var boundaries = togetherRow.boundaries;
|
5012
|
+
if (
|
5013
|
+
null !== boundaries &&
|
5014
|
+
togetherRow.pendingTasks === boundaries.length
|
5015
|
+
) {
|
5016
|
+
for (
|
5017
|
+
var allCompleteAndInlinable = !0, i = 0;
|
5018
|
+
i < boundaries.length;
|
5019
|
+
i++
|
5020
|
+
) {
|
5021
|
+
var rowBoundary = boundaries[i];
|
5022
|
+
if (
|
5023
|
+
1 !== rowBoundary.pendingTasks ||
|
5024
|
+
rowBoundary.parentFlushed ||
|
5025
|
+
500 < rowBoundary.byteSize
|
5026
|
+
) {
|
5027
|
+
allCompleteAndInlinable = !1;
|
5028
|
+
break;
|
5029
|
+
}
|
4979
5030
|
}
|
4980
|
-
|
4981
|
-
|
4982
|
-
row = row.next;
|
5031
|
+
allCompleteAndInlinable &&
|
5032
|
+
unblockSuspenseListRow(request, togetherRow, togetherRow.hoistables);
|
4983
5033
|
}
|
4984
5034
|
}
|
4985
5035
|
function createSuspenseListRow(previousRow) {
|
4986
|
-
var newRow = {
|
5036
|
+
var newRow = {
|
5037
|
+
pendingTasks: 1,
|
5038
|
+
boundaries: null,
|
5039
|
+
hoistables: createHoistableState(),
|
5040
|
+
inheritedHoistables: null,
|
5041
|
+
together: !1,
|
5042
|
+
next: null
|
5043
|
+
};
|
4987
5044
|
null !== previousRow &&
|
4988
5045
|
0 < previousRow.pendingTasks &&
|
4989
5046
|
(newRow.pendingTasks++,
|
@@ -4992,28 +5049,25 @@
|
|
4992
5049
|
return newRow;
|
4993
5050
|
}
|
4994
5051
|
function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
4995
|
-
|
4996
|
-
|
5052
|
+
var prevKeyPath = task.keyPath,
|
5053
|
+
prevTreeContext = task.treeContext,
|
5054
|
+
prevRow = task.row,
|
5055
|
+
previousComponentStack = task.componentStack;
|
4997
5056
|
var previousDebugTask = task.debugTask;
|
4998
5057
|
pushServerComponentStack(task, task.node.props.children._debugInfo);
|
4999
|
-
|
5000
|
-
|
5001
|
-
|
5002
|
-
previousSuspenseListRow = null;
|
5058
|
+
task.keyPath = keyPath;
|
5059
|
+
keyPath = rows.length;
|
5060
|
+
var previousSuspenseListRow = null;
|
5003
5061
|
if (null !== task.replay) {
|
5004
5062
|
var resumeSlots = task.replay.slots;
|
5005
5063
|
if (null !== resumeSlots && "object" === typeof resumeSlots)
|
5006
|
-
for (var n = 0; n <
|
5007
|
-
var i = "backwards" !== revealOrder ? n :
|
5064
|
+
for (var n = 0; n < keyPath; n++) {
|
5065
|
+
var i = "backwards" !== revealOrder ? n : keyPath - 1 - n,
|
5008
5066
|
node = rows[i];
|
5009
5067
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
5010
5068
|
previousSuspenseListRow
|
5011
5069
|
);
|
5012
|
-
task.treeContext = pushTreeContext(
|
5013
|
-
prevTreeContext,
|
5014
|
-
totalChildren,
|
5015
|
-
i
|
5016
|
-
);
|
5070
|
+
task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
|
5017
5071
|
var resumeSegmentID = resumeSlots[i];
|
5018
5072
|
"number" === typeof resumeSegmentID
|
5019
5073
|
? (resumeNode(request, task, resumeSegmentID, node, i),
|
@@ -5023,32 +5077,28 @@
|
|
5023
5077
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
5024
5078
|
}
|
5025
5079
|
else
|
5026
|
-
for (resumeSlots = 0; resumeSlots <
|
5080
|
+
for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)
|
5027
5081
|
(n =
|
5028
5082
|
"backwards" !== revealOrder
|
5029
5083
|
? resumeSlots
|
5030
|
-
:
|
5084
|
+
: keyPath - 1 - resumeSlots),
|
5031
5085
|
(i = rows[n]),
|
5032
5086
|
warnForMissingKey(request, task, i),
|
5033
5087
|
(task.row = previousSuspenseListRow =
|
5034
5088
|
createSuspenseListRow(previousSuspenseListRow)),
|
5035
|
-
(task.treeContext = pushTreeContext(
|
5036
|
-
prevTreeContext,
|
5037
|
-
totalChildren,
|
5038
|
-
n
|
5039
|
-
)),
|
5089
|
+
(task.treeContext = pushTreeContext(prevTreeContext, keyPath, n)),
|
5040
5090
|
renderNode(request, task, i, n),
|
5041
5091
|
0 === --previousSuspenseListRow.pendingTasks &&
|
5042
5092
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
5043
5093
|
} else if ("backwards" !== revealOrder)
|
5044
|
-
for (revealOrder = 0; revealOrder <
|
5094
|
+
for (revealOrder = 0; revealOrder < keyPath; revealOrder++)
|
5045
5095
|
(resumeSlots = rows[revealOrder]),
|
5046
5096
|
warnForMissingKey(request, task, resumeSlots),
|
5047
5097
|
(task.row = previousSuspenseListRow =
|
5048
5098
|
createSuspenseListRow(previousSuspenseListRow)),
|
5049
5099
|
(task.treeContext = pushTreeContext(
|
5050
5100
|
prevTreeContext,
|
5051
|
-
|
5101
|
+
keyPath,
|
5052
5102
|
revealOrder
|
5053
5103
|
)),
|
5054
5104
|
renderNode(request, task, resumeSlots, revealOrder),
|
@@ -5058,12 +5108,12 @@
|
|
5058
5108
|
revealOrder = task.blockedSegment;
|
5059
5109
|
resumeSlots = revealOrder.children.length;
|
5060
5110
|
n = revealOrder.chunks.length;
|
5061
|
-
for (i =
|
5111
|
+
for (i = keyPath - 1; 0 <= i; i--) {
|
5062
5112
|
node = rows[i];
|
5063
5113
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
5064
5114
|
previousSuspenseListRow
|
5065
5115
|
);
|
5066
|
-
task.treeContext = pushTreeContext(prevTreeContext,
|
5116
|
+
task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
|
5067
5117
|
resumeSegmentID = createPendingSegment(
|
5068
5118
|
request,
|
5069
5119
|
n,
|
@@ -5100,7 +5150,7 @@
|
|
5100
5150
|
(prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));
|
5101
5151
|
task.treeContext = prevTreeContext;
|
5102
5152
|
task.row = prevRow;
|
5103
|
-
task.keyPath =
|
5153
|
+
task.keyPath = prevKeyPath;
|
5104
5154
|
task.componentStack = previousComponentStack;
|
5105
5155
|
task.debugTask = previousDebugTask;
|
5106
5156
|
}
|
@@ -5645,7 +5695,7 @@
|
|
5645
5695
|
);
|
5646
5696
|
segment.lastPushedText = !1;
|
5647
5697
|
var _prevContext2 = task.formatContext,
|
5648
|
-
|
5698
|
+
_prevKeyPath3 = task.keyPath;
|
5649
5699
|
task.keyPath = keyPath;
|
5650
5700
|
if (
|
5651
5701
|
(task.formatContext = getChildFormatContext(
|
@@ -5686,7 +5736,7 @@
|
|
5686
5736
|
request.pingedTasks.push(preambleTask);
|
5687
5737
|
} else renderNode(request, task, _children, -1);
|
5688
5738
|
task.formatContext = _prevContext2;
|
5689
|
-
task.keyPath =
|
5739
|
+
task.keyPath = _prevKeyPath3;
|
5690
5740
|
a: {
|
5691
5741
|
var target = segment.chunks,
|
5692
5742
|
resumableState = request.resumableState;
|
@@ -5752,10 +5802,10 @@
|
|
5752
5802
|
} else if ("hidden" !== props.mode) {
|
5753
5803
|
segment$jscomp$0.chunks.push(startActivityBoundary);
|
5754
5804
|
segment$jscomp$0.lastPushedText = !1;
|
5755
|
-
var
|
5805
|
+
var _prevKeyPath4 = task.keyPath;
|
5756
5806
|
task.keyPath = keyPath;
|
5757
5807
|
renderNode(request, task, props.children, -1);
|
5758
|
-
task.keyPath =
|
5808
|
+
task.keyPath = _prevKeyPath4;
|
5759
5809
|
segment$jscomp$0.chunks.push(endActivityBoundary);
|
5760
5810
|
segment$jscomp$0.lastPushedText = !1;
|
5761
5811
|
}
|
@@ -5803,10 +5853,27 @@
|
|
5803
5853
|
}
|
5804
5854
|
}
|
5805
5855
|
}
|
5806
|
-
|
5807
|
-
|
5808
|
-
|
5809
|
-
|
5856
|
+
if ("together" === revealOrder) {
|
5857
|
+
var _prevKeyPath2 = task.keyPath,
|
5858
|
+
prevRow = task.row,
|
5859
|
+
newRow = (task.row = createSuspenseListRow(null));
|
5860
|
+
newRow.boundaries = [];
|
5861
|
+
newRow.together = !0;
|
5862
|
+
task.keyPath = keyPath;
|
5863
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
5864
|
+
0 === --newRow.pendingTasks &&
|
5865
|
+
finishSuspenseListRow(request, newRow);
|
5866
|
+
task.keyPath = _prevKeyPath2;
|
5867
|
+
task.row = prevRow;
|
5868
|
+
null !== prevRow &&
|
5869
|
+
0 < newRow.pendingTasks &&
|
5870
|
+
(prevRow.pendingTasks++, (newRow.next = prevRow));
|
5871
|
+
} else {
|
5872
|
+
var prevKeyPath$jscomp$3 = task.keyPath;
|
5873
|
+
task.keyPath = keyPath;
|
5874
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
5875
|
+
task.keyPath = prevKeyPath$jscomp$3;
|
5876
|
+
}
|
5810
5877
|
}
|
5811
5878
|
return;
|
5812
5879
|
case REACT_VIEW_TRANSITION_TYPE:
|
@@ -5836,7 +5903,7 @@
|
|
5836
5903
|
} else {
|
5837
5904
|
var prevKeyPath$jscomp$4 = task.keyPath,
|
5838
5905
|
prevContext$jscomp$0 = task.formatContext,
|
5839
|
-
prevRow = task.row,
|
5906
|
+
prevRow$jscomp$0 = task.row,
|
5840
5907
|
parentBoundary = task.blockedBoundary,
|
5841
5908
|
parentPreamble = task.blockedPreamble,
|
5842
5909
|
parentHoistableState = task.hoistableState,
|
@@ -5971,18 +6038,24 @@
|
|
5971
6038
|
finishedSegment(request, newBoundary, contentRootSegment),
|
5972
6039
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
5973
6040
|
0 === newBoundary.pendingTasks &&
|
5974
|
-
newBoundary.status === PENDING
|
5975
|
-
((newBoundary.status = COMPLETED),
|
5976
|
-
!(500 < newBoundary.byteSize)))
|
6041
|
+
newBoundary.status === PENDING)
|
5977
6042
|
) {
|
5978
|
-
|
5979
|
-
|
5980
|
-
|
5981
|
-
|
5982
|
-
|
5983
|
-
|
5984
|
-
|
5985
|
-
|
6043
|
+
if (
|
6044
|
+
((newBoundary.status = COMPLETED),
|
6045
|
+
!(500 < newBoundary.byteSize))
|
6046
|
+
) {
|
6047
|
+
null !== prevRow$jscomp$0 &&
|
6048
|
+
0 === --prevRow$jscomp$0.pendingTasks &&
|
6049
|
+
finishSuspenseListRow(request, prevRow$jscomp$0);
|
6050
|
+
0 === request.pendingRootTasks &&
|
6051
|
+
task.blockedPreamble &&
|
6052
|
+
preparePreamble(request);
|
6053
|
+
break a;
|
6054
|
+
}
|
6055
|
+
} else
|
6056
|
+
null !== prevRow$jscomp$0 &&
|
6057
|
+
prevRow$jscomp$0.together &&
|
6058
|
+
tryToResolveTogetherRow(request, prevRow$jscomp$0);
|
5986
6059
|
} catch (thrownValue$2) {
|
5987
6060
|
newBoundary.status = CLIENT_RENDERED;
|
5988
6061
|
if (12 === request.status) {
|
@@ -6012,7 +6085,7 @@
|
|
6012
6085
|
(task.blockedSegment = parentSegment),
|
6013
6086
|
(task.keyPath = prevKeyPath$jscomp$4),
|
6014
6087
|
(task.formatContext = prevContext$jscomp$0),
|
6015
|
-
(task.row = prevRow);
|
6088
|
+
(task.row = prevRow$jscomp$0);
|
6016
6089
|
}
|
6017
6090
|
var suspendedFallbackTask = createRenderTask(
|
6018
6091
|
request,
|
@@ -6972,10 +7045,6 @@
|
|
6972
7045
|
if (6 === segment.status) return;
|
6973
7046
|
segment.status = ABORTED;
|
6974
7047
|
}
|
6975
|
-
segment = task.row;
|
6976
|
-
null !== segment &&
|
6977
|
-
0 === --segment.pendingTasks &&
|
6978
|
-
finishSuspenseListRow(request, segment);
|
6979
7048
|
segment = getThrownInfo(task.componentStack);
|
6980
7049
|
if (null === boundary) {
|
6981
7050
|
if (13 !== request.status && request.status !== CLOSED) {
|
@@ -6986,36 +7055,49 @@
|
|
6986
7055
|
return;
|
6987
7056
|
}
|
6988
7057
|
boundary.pendingTasks--;
|
6989
|
-
0 === boundary.pendingTasks &&
|
6990
|
-
|
6991
|
-
|
7058
|
+
if (0 === boundary.pendingTasks && 0 < boundary.nodes.length) {
|
7059
|
+
var errorDigest = logRecoverableError(
|
7060
|
+
request,
|
7061
|
+
error,
|
7062
|
+
segment,
|
7063
|
+
null
|
7064
|
+
);
|
6992
7065
|
abortRemainingReplayNodes(
|
6993
7066
|
request,
|
6994
7067
|
null,
|
6995
7068
|
boundary.nodes,
|
6996
7069
|
boundary.slots,
|
6997
7070
|
error,
|
6998
|
-
|
7071
|
+
errorDigest,
|
6999
7072
|
segment,
|
7000
7073
|
!0
|
7001
|
-
)
|
7074
|
+
);
|
7075
|
+
}
|
7002
7076
|
request.pendingRootTasks--;
|
7003
7077
|
0 === request.pendingRootTasks && completeShell(request);
|
7004
7078
|
}
|
7005
7079
|
} else
|
7006
|
-
boundary.
|
7007
|
-
boundary.status
|
7008
|
-
|
7009
|
-
|
7010
|
-
|
7011
|
-
|
7012
|
-
|
7013
|
-
boundary
|
7014
|
-
|
7080
|
+
boundary.status !== CLIENT_RENDERED &&
|
7081
|
+
((boundary.status = CLIENT_RENDERED),
|
7082
|
+
(errorDigest = logRecoverableError(request, error, segment, null)),
|
7083
|
+
(boundary.status = CLIENT_RENDERED),
|
7084
|
+
encodeErrorForBoundary(boundary, errorDigest, error, segment, !0),
|
7085
|
+
untrackBoundary(request, boundary),
|
7086
|
+
boundary.parentFlushed &&
|
7087
|
+
request.clientRenderedBoundaries.push(boundary)),
|
7088
|
+
boundary.pendingTasks--,
|
7089
|
+
(segment = boundary.row),
|
7090
|
+
null !== segment &&
|
7091
|
+
0 === --segment.pendingTasks &&
|
7092
|
+
finishSuspenseListRow(request, segment),
|
7015
7093
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
7016
7094
|
return abortTask(fallbackTask, request, error);
|
7017
7095
|
}),
|
7018
7096
|
boundary.fallbackAbortableTasks.clear();
|
7097
|
+
task = task.row;
|
7098
|
+
null !== task &&
|
7099
|
+
0 === --task.pendingTasks &&
|
7100
|
+
finishSuspenseListRow(request, task);
|
7019
7101
|
request.allPendingTasks--;
|
7020
7102
|
0 === request.allPendingTasks && completeAll(request);
|
7021
7103
|
}
|
@@ -7129,8 +7211,9 @@
|
|
7129
7211
|
}
|
7130
7212
|
function finishedTask(request, boundary, row, segment) {
|
7131
7213
|
null !== row &&
|
7132
|
-
0 === --row.pendingTasks
|
7133
|
-
|
7214
|
+
(0 === --row.pendingTasks
|
7215
|
+
? finishSuspenseListRow(request, row)
|
7216
|
+
: row.together && tryToResolveTogetherRow(request, row));
|
7134
7217
|
request.allPendingTasks--;
|
7135
7218
|
if (null === boundary) {
|
7136
7219
|
if (null !== segment && segment.parentFlushed) {
|
@@ -7154,13 +7237,15 @@
|
|
7154
7237
|
boundary.parentFlushed &&
|
7155
7238
|
request.completedBoundaries.push(boundary),
|
7156
7239
|
boundary.status === COMPLETED &&
|
7157
|
-
(
|
7240
|
+
((row = boundary.row),
|
7241
|
+
null !== row &&
|
7242
|
+
hoistHoistables(row.hoistables, boundary.contentState),
|
7243
|
+
500 < boundary.byteSize ||
|
7158
7244
|
(boundary.fallbackAbortableTasks.forEach(
|
7159
7245
|
abortTaskSoft,
|
7160
7246
|
request
|
7161
7247
|
),
|
7162
7248
|
boundary.fallbackAbortableTasks.clear(),
|
7163
|
-
(row = boundary.row),
|
7164
7249
|
null !== row &&
|
7165
7250
|
0 === --row.pendingTasks &&
|
7166
7251
|
finishSuspenseListRow(request, row)),
|
@@ -7168,13 +7253,17 @@
|
|
7168
7253
|
null === request.trackedPostpones &&
|
7169
7254
|
null !== boundary.contentPreamble &&
|
7170
7255
|
preparePreamble(request)))
|
7171
|
-
: null !== segment &&
|
7172
|
-
|
7173
|
-
|
7174
|
-
|
7175
|
-
|
7176
|
-
|
7177
|
-
|
7256
|
+
: (null !== segment &&
|
7257
|
+
segment.parentFlushed &&
|
7258
|
+
segment.status === COMPLETED &&
|
7259
|
+
(queueCompletedSegment(boundary, segment),
|
7260
|
+
1 === boundary.completedSegments.length &&
|
7261
|
+
boundary.parentFlushed &&
|
7262
|
+
request.partialBoundaries.push(boundary)),
|
7263
|
+
(boundary = boundary.row),
|
7264
|
+
null !== boundary &&
|
7265
|
+
boundary.together &&
|
7266
|
+
tryToResolveTogetherRow(request, boundary)));
|
7178
7267
|
0 === request.allPendingTasks && completeAll(request);
|
7179
7268
|
}
|
7180
7269
|
function performWork(request$jscomp$2) {
|
@@ -7356,32 +7445,37 @@
|
|
7356
7445
|
errorInfo$jscomp$1,
|
7357
7446
|
debugTask
|
7358
7447
|
);
|
7359
|
-
null === boundary$jscomp$0
|
7360
|
-
|
7361
|
-
|
7362
|
-
|
7363
|
-
|
7364
|
-
|
7365
|
-
|
7366
|
-
|
7367
|
-
|
7368
|
-
|
7369
|
-
|
7370
|
-
|
7371
|
-
|
7372
|
-
|
7373
|
-
|
7374
|
-
|
7375
|
-
|
7376
|
-
|
7377
|
-
|
7378
|
-
|
7379
|
-
|
7380
|
-
|
7381
|
-
|
7382
|
-
|
7383
|
-
|
7384
|
-
|
7448
|
+
if (null === boundary$jscomp$0)
|
7449
|
+
fatalError(
|
7450
|
+
request,
|
7451
|
+
x$jscomp$0,
|
7452
|
+
errorInfo$jscomp$1,
|
7453
|
+
debugTask
|
7454
|
+
);
|
7455
|
+
else if (
|
7456
|
+
(boundary$jscomp$0.pendingTasks--,
|
7457
|
+
boundary$jscomp$0.status !== CLIENT_RENDERED)
|
7458
|
+
) {
|
7459
|
+
boundary$jscomp$0.status = CLIENT_RENDERED;
|
7460
|
+
encodeErrorForBoundary(
|
7461
|
+
boundary$jscomp$0,
|
7462
|
+
prevTaskInDEV,
|
7463
|
+
x$jscomp$0,
|
7464
|
+
errorInfo$jscomp$1,
|
7465
|
+
!1
|
7466
|
+
);
|
7467
|
+
untrackBoundary(request, boundary$jscomp$0);
|
7468
|
+
var boundaryRow = boundary$jscomp$0.row;
|
7469
|
+
null !== boundaryRow &&
|
7470
|
+
0 === --boundaryRow.pendingTasks &&
|
7471
|
+
finishSuspenseListRow(request, boundaryRow);
|
7472
|
+
boundary$jscomp$0.parentFlushed &&
|
7473
|
+
request.clientRenderedBoundaries.push(boundary$jscomp$0);
|
7474
|
+
0 === request.pendingRootTasks &&
|
7475
|
+
null === request.trackedPostpones &&
|
7476
|
+
null !== boundary$jscomp$0.contentPreamble &&
|
7477
|
+
preparePreamble(request);
|
7478
|
+
}
|
7385
7479
|
0 === request.allPendingTasks && completeAll(request);
|
7386
7480
|
}
|
7387
7481
|
} finally {
|
@@ -7593,12 +7687,7 @@
|
|
7593
7687
|
boundary.rootSegmentID
|
7594
7688
|
),
|
7595
7689
|
hoistableState &&
|
7596
|
-
(
|
7597
|
-
boundary.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
7598
|
-
boundary.stylesheets.forEach(
|
7599
|
-
hoistStylesheetDependency,
|
7600
|
-
hoistableState
|
7601
|
-
)),
|
7690
|
+
hoistHoistables(hoistableState, boundary.fallbackState),
|
7602
7691
|
flushSubtree(request, destination, segment, hoistableState);
|
7603
7692
|
else if (
|
7604
7693
|
500 < boundary.byteSize &&
|
@@ -7615,12 +7704,7 @@
|
|
7615
7704
|
else {
|
7616
7705
|
flushedByteSize += boundary.byteSize;
|
7617
7706
|
hoistableState &&
|
7618
|
-
(
|
7619
|
-
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
7620
|
-
segment.stylesheets.forEach(
|
7621
|
-
hoistStylesheetDependency,
|
7622
|
-
hoistableState
|
7623
|
-
));
|
7707
|
+
hoistHoistables(hoistableState, boundary.contentState);
|
7624
7708
|
segment = boundary.row;
|
7625
7709
|
null !== segment &&
|
7626
7710
|
500 < boundary.byteSize &&
|
@@ -8072,6 +8156,17 @@
|
|
8072
8156
|
break a;
|
8073
8157
|
}
|
8074
8158
|
completedSegments.splice(0, JSCompiler_inline_result);
|
8159
|
+
var row = boundary$jscomp$0.row;
|
8160
|
+
null !== row &&
|
8161
|
+
row.together &&
|
8162
|
+
1 === boundary$jscomp$0.pendingTasks &&
|
8163
|
+
(1 === row.pendingTasks
|
8164
|
+
? unblockSuspenseListRow(
|
8165
|
+
clientRenderedBoundaries,
|
8166
|
+
row,
|
8167
|
+
row.hoistables
|
8168
|
+
)
|
8169
|
+
: row.pendingTasks--);
|
8075
8170
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
8076
8171
|
boundary,
|
8077
8172
|
boundary$jscomp$0.contentState,
|
@@ -8197,11 +8292,11 @@
|
|
8197
8292
|
}
|
8198
8293
|
function ensureCorrectIsomorphicReactVersion() {
|
8199
8294
|
var isomorphicReactPackageVersion = React.version;
|
8200
|
-
if ("19.2.0-canary-
|
8295
|
+
if ("19.2.0-canary-23884812-20250520" !== isomorphicReactPackageVersion)
|
8201
8296
|
throw Error(
|
8202
8297
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8203
8298
|
(isomorphicReactPackageVersion +
|
8204
|
-
"\n - react-dom: 19.2.0-canary-
|
8299
|
+
"\n - react-dom: 19.2.0-canary-23884812-20250520\nLearn more: https://react.dev/warnings/version-mismatch")
|
8205
8300
|
);
|
8206
8301
|
}
|
8207
8302
|
var React = require("react"),
|
@@ -9884,5 +9979,5 @@
|
|
9884
9979
|
startWork(request);
|
9885
9980
|
});
|
9886
9981
|
};
|
9887
|
-
exports.version = "19.2.0-canary-
|
9982
|
+
exports.version = "19.2.0-canary-23884812-20250520";
|
9888
9983
|
})();
|