react-dom 19.2.0-canary-e9db3cc2-20250501 → 19.2.0-canary-f7396427-20250501
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 +30 -14
- package/cjs/react-dom-client.production.js +37 -14
- package/cjs/react-dom-profiling.development.js +30 -14
- package/cjs/react-dom-profiling.profiling.js +37 -14
- package/cjs/react-dom-server-legacy.browser.development.js +70 -36
- package/cjs/react-dom-server-legacy.browser.production.js +72 -45
- package/cjs/react-dom-server-legacy.node.development.js +70 -36
- package/cjs/react-dom-server-legacy.node.production.js +72 -45
- package/cjs/react-dom-server.browser.development.js +65 -33
- package/cjs/react-dom-server.browser.production.js +57 -31
- package/cjs/react-dom-server.bun.development.js +57 -35
- package/cjs/react-dom-server.bun.production.js +49 -26
- package/cjs/react-dom-server.edge.development.js +65 -33
- package/cjs/react-dom-server.edge.production.js +57 -31
- package/cjs/react-dom-server.node.development.js +62 -33
- package/cjs/react-dom-server.node.production.js +54 -31
- 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
@@ -6571,7 +6571,7 @@
|
|
6571
6571
|
null !== state &&
|
6572
6572
|
((state = state.dehydrated),
|
6573
6573
|
null === state ||
|
6574
|
-
state
|
6574
|
+
isSuspenseInstancePending(state) ||
|
6575
6575
|
isSuspenseInstanceFallback(state))
|
6576
6576
|
)
|
6577
6577
|
return node;
|
@@ -9913,16 +9913,18 @@
|
|
9913
9913
|
),
|
9914
9914
|
SelectiveHydrationException)
|
9915
9915
|
);
|
9916
|
-
|
9917
|
-
|
9916
|
+
isSuspenseInstancePending(
|
9917
|
+
JSCompiler_object_inline_componentStack_2529
|
9918
|
+
) || renderDidSuspendDelayIfPossible();
|
9918
9919
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9919
9920
|
current,
|
9920
9921
|
workInProgress,
|
9921
9922
|
renderLanes
|
9922
9923
|
);
|
9923
9924
|
} else
|
9924
|
-
|
9925
|
-
|
9925
|
+
isSuspenseInstancePending(
|
9926
|
+
JSCompiler_object_inline_componentStack_2529
|
9927
|
+
)
|
9926
9928
|
? ((workInProgress.flags |= 192),
|
9927
9929
|
(workInProgress.child = current.child),
|
9928
9930
|
(workInProgress = null))
|
@@ -19856,6 +19858,7 @@
|
|
19856
19858
|
} else if (
|
19857
19859
|
node === SUSPENSE_START_DATA ||
|
19858
19860
|
node === SUSPENSE_PENDING_START_DATA ||
|
19861
|
+
node === SUSPENSE_QUEUED_START_DATA ||
|
19859
19862
|
node === SUSPENSE_FALLBACK_START_DATA ||
|
19860
19863
|
node === ACTIVITY_START_DATA
|
19861
19864
|
)
|
@@ -19908,6 +19911,7 @@
|
|
19908
19911
|
else
|
19909
19912
|
(node !== SUSPENSE_START_DATA &&
|
19910
19913
|
node !== SUSPENSE_PENDING_START_DATA &&
|
19914
|
+
node !== SUSPENSE_QUEUED_START_DATA &&
|
19911
19915
|
node !== SUSPENSE_FALLBACK_START_DATA) ||
|
19912
19916
|
suspenseInstance++;
|
19913
19917
|
node = nextNode;
|
@@ -20058,18 +20062,26 @@
|
|
20058
20062
|
}
|
20059
20063
|
return instance;
|
20060
20064
|
}
|
20065
|
+
function isSuspenseInstancePending(instance) {
|
20066
|
+
return (
|
20067
|
+
instance.data === SUSPENSE_PENDING_START_DATA ||
|
20068
|
+
instance.data === SUSPENSE_QUEUED_START_DATA
|
20069
|
+
);
|
20070
|
+
}
|
20061
20071
|
function isSuspenseInstanceFallback(instance) {
|
20062
20072
|
return (
|
20063
20073
|
instance.data === SUSPENSE_FALLBACK_START_DATA ||
|
20064
20074
|
(instance.data === SUSPENSE_PENDING_START_DATA &&
|
20065
|
-
instance.ownerDocument.readyState
|
20075
|
+
instance.ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING)
|
20066
20076
|
);
|
20067
20077
|
}
|
20068
20078
|
function registerSuspenseInstanceRetry(instance, callback) {
|
20069
20079
|
var ownerDocument = instance.ownerDocument;
|
20070
|
-
if (
|
20080
|
+
if (instance.data === SUSPENSE_QUEUED_START_DATA)
|
20081
|
+
instance._reactRetry = callback;
|
20082
|
+
else if (
|
20071
20083
|
instance.data !== SUSPENSE_PENDING_START_DATA ||
|
20072
|
-
ownerDocument.readyState
|
20084
|
+
ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING
|
20073
20085
|
)
|
20074
20086
|
callback();
|
20075
20087
|
else {
|
@@ -20091,6 +20103,7 @@
|
|
20091
20103
|
nodeType === SUSPENSE_START_DATA ||
|
20092
20104
|
nodeType === SUSPENSE_FALLBACK_START_DATA ||
|
20093
20105
|
nodeType === SUSPENSE_PENDING_START_DATA ||
|
20106
|
+
nodeType === SUSPENSE_QUEUED_START_DATA ||
|
20094
20107
|
nodeType === ACTIVITY_START_DATA ||
|
20095
20108
|
nodeType === FORM_STATE_IS_MATCHING ||
|
20096
20109
|
nodeType === FORM_STATE_IS_NOT_MATCHING
|
@@ -20155,6 +20168,7 @@
|
|
20155
20168
|
(data !== SUSPENSE_START_DATA &&
|
20156
20169
|
data !== SUSPENSE_FALLBACK_START_DATA &&
|
20157
20170
|
data !== SUSPENSE_PENDING_START_DATA &&
|
20171
|
+
data !== SUSPENSE_QUEUED_START_DATA &&
|
20158
20172
|
data !== ACTIVITY_START_DATA) ||
|
20159
20173
|
depth++;
|
20160
20174
|
}
|
@@ -20171,6 +20185,7 @@
|
|
20171
20185
|
data === SUSPENSE_START_DATA ||
|
20172
20186
|
data === SUSPENSE_FALLBACK_START_DATA ||
|
20173
20187
|
data === SUSPENSE_PENDING_START_DATA ||
|
20188
|
+
data === SUSPENSE_QUEUED_START_DATA ||
|
20174
20189
|
data === ACTIVITY_START_DATA
|
20175
20190
|
) {
|
20176
20191
|
if (0 === depth) return targetInstance;
|
@@ -24880,13 +24895,14 @@
|
|
24880
24895
|
SUSPENSE_START_DATA = "$",
|
24881
24896
|
SUSPENSE_END_DATA = "/$",
|
24882
24897
|
SUSPENSE_PENDING_START_DATA = "$?",
|
24898
|
+
SUSPENSE_QUEUED_START_DATA = "$~",
|
24883
24899
|
SUSPENSE_FALLBACK_START_DATA = "$!",
|
24884
24900
|
PREAMBLE_CONTRIBUTION_HTML = "html",
|
24885
24901
|
PREAMBLE_CONTRIBUTION_BODY = "body",
|
24886
24902
|
PREAMBLE_CONTRIBUTION_HEAD = "head",
|
24887
24903
|
FORM_STATE_IS_MATCHING = "F!",
|
24888
24904
|
FORM_STATE_IS_NOT_MATCHING = "F",
|
24889
|
-
|
24905
|
+
DOCUMENT_READY_STATE_LOADING = "loading",
|
24890
24906
|
STYLE = "style",
|
24891
24907
|
HostContextNamespaceNone = 0,
|
24892
24908
|
HostContextNamespaceSvg = 1,
|
@@ -25327,11 +25343,11 @@
|
|
25327
25343
|
};
|
25328
25344
|
(function () {
|
25329
25345
|
var isomorphicReactPackageVersion = React.version;
|
25330
|
-
if ("19.2.0-canary-
|
25346
|
+
if ("19.2.0-canary-f7396427-20250501" !== isomorphicReactPackageVersion)
|
25331
25347
|
throw Error(
|
25332
25348
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25333
25349
|
(isomorphicReactPackageVersion +
|
25334
|
-
"\n - react-dom: 19.2.0-canary-
|
25350
|
+
"\n - react-dom: 19.2.0-canary-f7396427-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
|
25335
25351
|
);
|
25336
25352
|
})();
|
25337
25353
|
("function" === typeof Map &&
|
@@ -25368,10 +25384,10 @@
|
|
25368
25384
|
!(function () {
|
25369
25385
|
var internals = {
|
25370
25386
|
bundleType: 1,
|
25371
|
-
version: "19.2.0-canary-
|
25387
|
+
version: "19.2.0-canary-f7396427-20250501",
|
25372
25388
|
rendererPackageName: "react-dom",
|
25373
25389
|
currentDispatcherRef: ReactSharedInternals,
|
25374
|
-
reconcilerVersion: "19.2.0-canary-
|
25390
|
+
reconcilerVersion: "19.2.0-canary-f7396427-20250501"
|
25375
25391
|
};
|
25376
25392
|
internals.overrideHookState = overrideHookState;
|
25377
25393
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25515,7 +25531,7 @@
|
|
25515
25531
|
listenToAllSupportedEvents(container);
|
25516
25532
|
return new ReactDOMHydrationRoot(initialChildren);
|
25517
25533
|
};
|
25518
|
-
exports.version = "19.2.0-canary-
|
25534
|
+
exports.version = "19.2.0-canary-f7396427-20250501";
|
25519
25535
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25520
25536
|
"function" ===
|
25521
25537
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -4242,7 +4242,7 @@ function findFirstSuspended(row) {
|
|
4242
4242
|
null !== state &&
|
4243
4243
|
((state = state.dehydrated),
|
4244
4244
|
null === state ||
|
4245
|
-
|
4245
|
+
isSuspenseInstancePending(state) ||
|
4246
4246
|
isSuspenseInstanceFallback(state))
|
4247
4247
|
)
|
4248
4248
|
return node;
|
@@ -6812,14 +6812,15 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
6812
6812
|
scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps),
|
6813
6813
|
SelectiveHydrationException)
|
6814
6814
|
);
|
6815
|
-
|
6815
|
+
isSuspenseInstancePending(nextPrimaryChildren) ||
|
6816
|
+
renderDidSuspendDelayIfPossible();
|
6816
6817
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
6817
6818
|
current,
|
6818
6819
|
workInProgress,
|
6819
6820
|
renderLanes
|
6820
6821
|
);
|
6821
6822
|
} else
|
6822
|
-
|
6823
|
+
isSuspenseInstancePending(nextPrimaryChildren)
|
6823
6824
|
? ((workInProgress.flags |= 192),
|
6824
6825
|
(workInProgress.child = current.child),
|
6825
6826
|
(workInProgress = null))
|
@@ -13841,7 +13842,13 @@ function clearHydrationBoundary(parentInstance, hydrationInstance) {
|
|
13841
13842
|
return;
|
13842
13843
|
}
|
13843
13844
|
depth--;
|
13844
|
-
} else if (
|
13845
|
+
} else if (
|
13846
|
+
"$" === node ||
|
13847
|
+
"$?" === node ||
|
13848
|
+
"$~" === node ||
|
13849
|
+
"$!" === node ||
|
13850
|
+
"&" === node
|
13851
|
+
)
|
13845
13852
|
depth++;
|
13846
13853
|
else if ("html" === node)
|
13847
13854
|
releaseSingletonInstance(parentInstance.ownerDocument.documentElement);
|
@@ -13886,7 +13893,8 @@ function hideOrUnhideDehydratedBoundary(suspenseInstance, isHidden) {
|
|
13886
13893
|
if (0 === suspenseInstance) break;
|
13887
13894
|
else suspenseInstance--;
|
13888
13895
|
else
|
13889
|
-
("$" !== node && "$?" !== node && "$!" !== node) ||
|
13896
|
+
("$" !== node && "$?" !== node && "$~" !== node && "$!" !== node) ||
|
13897
|
+
suspenseInstance++;
|
13890
13898
|
node = nextNode;
|
13891
13899
|
} while (node);
|
13892
13900
|
}
|
@@ -14000,15 +14008,19 @@ function canHydrateHydrationBoundary(instance, inRootOrSingleton) {
|
|
14000
14008
|
}
|
14001
14009
|
return instance;
|
14002
14010
|
}
|
14011
|
+
function isSuspenseInstancePending(instance) {
|
14012
|
+
return "$?" === instance.data || "$~" === instance.data;
|
14013
|
+
}
|
14003
14014
|
function isSuspenseInstanceFallback(instance) {
|
14004
14015
|
return (
|
14005
14016
|
"$!" === instance.data ||
|
14006
|
-
("$?" === instance.data && "
|
14017
|
+
("$?" === instance.data && "loading" !== instance.ownerDocument.readyState)
|
14007
14018
|
);
|
14008
14019
|
}
|
14009
14020
|
function registerSuspenseInstanceRetry(instance, callback) {
|
14010
14021
|
var ownerDocument = instance.ownerDocument;
|
14011
|
-
if ("
|
14022
|
+
if ("$~" === instance.data) instance._reactRetry = callback;
|
14023
|
+
else if ("$?" !== instance.data || "loading" !== ownerDocument.readyState)
|
14012
14024
|
callback();
|
14013
14025
|
else {
|
14014
14026
|
var listener = function () {
|
@@ -14029,6 +14041,7 @@ function getNextHydratable(node) {
|
|
14029
14041
|
"$" === nodeType ||
|
14030
14042
|
"$!" === nodeType ||
|
14031
14043
|
"$?" === nodeType ||
|
14044
|
+
"$~" === nodeType ||
|
14032
14045
|
"&" === nodeType ||
|
14033
14046
|
"F!" === nodeType ||
|
14034
14047
|
"F" === nodeType
|
@@ -14050,7 +14063,11 @@ function getNextHydratableInstanceAfterHydrationBoundary(hydrationInstance) {
|
|
14050
14063
|
return getNextHydratable(hydrationInstance.nextSibling);
|
14051
14064
|
depth--;
|
14052
14065
|
} else
|
14053
|
-
("$" !== data &&
|
14066
|
+
("$" !== data &&
|
14067
|
+
"$!" !== data &&
|
14068
|
+
"$?" !== data &&
|
14069
|
+
"$~" !== data &&
|
14070
|
+
"&" !== data) ||
|
14054
14071
|
depth++;
|
14055
14072
|
}
|
14056
14073
|
hydrationInstance = hydrationInstance.nextSibling;
|
@@ -14062,7 +14079,13 @@ function getParentHydrationBoundary(targetInstance) {
|
|
14062
14079
|
for (var depth = 0; targetInstance; ) {
|
14063
14080
|
if (8 === targetInstance.nodeType) {
|
14064
14081
|
var data = targetInstance.data;
|
14065
|
-
if (
|
14082
|
+
if (
|
14083
|
+
"$" === data ||
|
14084
|
+
"$!" === data ||
|
14085
|
+
"$?" === data ||
|
14086
|
+
"$~" === data ||
|
14087
|
+
"&" === data
|
14088
|
+
) {
|
14066
14089
|
if (0 === depth) return targetInstance;
|
14067
14090
|
depth--;
|
14068
14091
|
} else ("/$" !== data && "/&" !== data) || depth++;
|
@@ -15612,14 +15635,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15612
15635
|
};
|
15613
15636
|
var isomorphicReactPackageVersion$jscomp$inline_1829 = React.version;
|
15614
15637
|
if (
|
15615
|
-
"19.2.0-canary-
|
15638
|
+
"19.2.0-canary-f7396427-20250501" !==
|
15616
15639
|
isomorphicReactPackageVersion$jscomp$inline_1829
|
15617
15640
|
)
|
15618
15641
|
throw Error(
|
15619
15642
|
formatProdErrorMessage(
|
15620
15643
|
527,
|
15621
15644
|
isomorphicReactPackageVersion$jscomp$inline_1829,
|
15622
|
-
"19.2.0-canary-
|
15645
|
+
"19.2.0-canary-f7396427-20250501"
|
15623
15646
|
)
|
15624
15647
|
);
|
15625
15648
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15641,10 +15664,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15641
15664
|
};
|
15642
15665
|
var internals$jscomp$inline_2318 = {
|
15643
15666
|
bundleType: 0,
|
15644
|
-
version: "19.2.0-canary-
|
15667
|
+
version: "19.2.0-canary-f7396427-20250501",
|
15645
15668
|
rendererPackageName: "react-dom",
|
15646
15669
|
currentDispatcherRef: ReactSharedInternals,
|
15647
|
-
reconcilerVersion: "19.2.0-canary-
|
15670
|
+
reconcilerVersion: "19.2.0-canary-f7396427-20250501"
|
15648
15671
|
};
|
15649
15672
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15650
15673
|
var hook$jscomp$inline_2319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
@@ -15748,4 +15771,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15748
15771
|
listenToAllSupportedEvents(container);
|
15749
15772
|
return new ReactDOMHydrationRoot(initialChildren);
|
15750
15773
|
};
|
15751
|
-
exports.version = "19.2.0-canary-
|
15774
|
+
exports.version = "19.2.0-canary-f7396427-20250501";
|
@@ -6579,7 +6579,7 @@
|
|
6579
6579
|
null !== state &&
|
6580
6580
|
((state = state.dehydrated),
|
6581
6581
|
null === state ||
|
6582
|
-
state
|
6582
|
+
isSuspenseInstancePending(state) ||
|
6583
6583
|
isSuspenseInstanceFallback(state))
|
6584
6584
|
)
|
6585
6585
|
return node;
|
@@ -9921,16 +9921,18 @@
|
|
9921
9921
|
),
|
9922
9922
|
SelectiveHydrationException)
|
9923
9923
|
);
|
9924
|
-
|
9925
|
-
|
9924
|
+
isSuspenseInstancePending(
|
9925
|
+
JSCompiler_object_inline_componentStack_2534
|
9926
|
+
) || renderDidSuspendDelayIfPossible();
|
9926
9927
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9927
9928
|
current,
|
9928
9929
|
workInProgress,
|
9929
9930
|
renderLanes
|
9930
9931
|
);
|
9931
9932
|
} else
|
9932
|
-
|
9933
|
-
|
9933
|
+
isSuspenseInstancePending(
|
9934
|
+
JSCompiler_object_inline_componentStack_2534
|
9935
|
+
)
|
9934
9936
|
? ((workInProgress.flags |= 192),
|
9935
9937
|
(workInProgress.child = current.child),
|
9936
9938
|
(workInProgress = null))
|
@@ -19868,6 +19870,7 @@
|
|
19868
19870
|
} else if (
|
19869
19871
|
node === SUSPENSE_START_DATA ||
|
19870
19872
|
node === SUSPENSE_PENDING_START_DATA ||
|
19873
|
+
node === SUSPENSE_QUEUED_START_DATA ||
|
19871
19874
|
node === SUSPENSE_FALLBACK_START_DATA ||
|
19872
19875
|
node === ACTIVITY_START_DATA
|
19873
19876
|
)
|
@@ -19920,6 +19923,7 @@
|
|
19920
19923
|
else
|
19921
19924
|
(node !== SUSPENSE_START_DATA &&
|
19922
19925
|
node !== SUSPENSE_PENDING_START_DATA &&
|
19926
|
+
node !== SUSPENSE_QUEUED_START_DATA &&
|
19923
19927
|
node !== SUSPENSE_FALLBACK_START_DATA) ||
|
19924
19928
|
suspenseInstance++;
|
19925
19929
|
node = nextNode;
|
@@ -20070,18 +20074,26 @@
|
|
20070
20074
|
}
|
20071
20075
|
return instance;
|
20072
20076
|
}
|
20077
|
+
function isSuspenseInstancePending(instance) {
|
20078
|
+
return (
|
20079
|
+
instance.data === SUSPENSE_PENDING_START_DATA ||
|
20080
|
+
instance.data === SUSPENSE_QUEUED_START_DATA
|
20081
|
+
);
|
20082
|
+
}
|
20073
20083
|
function isSuspenseInstanceFallback(instance) {
|
20074
20084
|
return (
|
20075
20085
|
instance.data === SUSPENSE_FALLBACK_START_DATA ||
|
20076
20086
|
(instance.data === SUSPENSE_PENDING_START_DATA &&
|
20077
|
-
instance.ownerDocument.readyState
|
20087
|
+
instance.ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING)
|
20078
20088
|
);
|
20079
20089
|
}
|
20080
20090
|
function registerSuspenseInstanceRetry(instance, callback) {
|
20081
20091
|
var ownerDocument = instance.ownerDocument;
|
20082
|
-
if (
|
20092
|
+
if (instance.data === SUSPENSE_QUEUED_START_DATA)
|
20093
|
+
instance._reactRetry = callback;
|
20094
|
+
else if (
|
20083
20095
|
instance.data !== SUSPENSE_PENDING_START_DATA ||
|
20084
|
-
ownerDocument.readyState
|
20096
|
+
ownerDocument.readyState !== DOCUMENT_READY_STATE_LOADING
|
20085
20097
|
)
|
20086
20098
|
callback();
|
20087
20099
|
else {
|
@@ -20103,6 +20115,7 @@
|
|
20103
20115
|
nodeType === SUSPENSE_START_DATA ||
|
20104
20116
|
nodeType === SUSPENSE_FALLBACK_START_DATA ||
|
20105
20117
|
nodeType === SUSPENSE_PENDING_START_DATA ||
|
20118
|
+
nodeType === SUSPENSE_QUEUED_START_DATA ||
|
20106
20119
|
nodeType === ACTIVITY_START_DATA ||
|
20107
20120
|
nodeType === FORM_STATE_IS_MATCHING ||
|
20108
20121
|
nodeType === FORM_STATE_IS_NOT_MATCHING
|
@@ -20167,6 +20180,7 @@
|
|
20167
20180
|
(data !== SUSPENSE_START_DATA &&
|
20168
20181
|
data !== SUSPENSE_FALLBACK_START_DATA &&
|
20169
20182
|
data !== SUSPENSE_PENDING_START_DATA &&
|
20183
|
+
data !== SUSPENSE_QUEUED_START_DATA &&
|
20170
20184
|
data !== ACTIVITY_START_DATA) ||
|
20171
20185
|
depth++;
|
20172
20186
|
}
|
@@ -20183,6 +20197,7 @@
|
|
20183
20197
|
data === SUSPENSE_START_DATA ||
|
20184
20198
|
data === SUSPENSE_FALLBACK_START_DATA ||
|
20185
20199
|
data === SUSPENSE_PENDING_START_DATA ||
|
20200
|
+
data === SUSPENSE_QUEUED_START_DATA ||
|
20186
20201
|
data === ACTIVITY_START_DATA
|
20187
20202
|
) {
|
20188
20203
|
if (0 === depth) return targetInstance;
|
@@ -24937,13 +24952,14 @@
|
|
24937
24952
|
SUSPENSE_START_DATA = "$",
|
24938
24953
|
SUSPENSE_END_DATA = "/$",
|
24939
24954
|
SUSPENSE_PENDING_START_DATA = "$?",
|
24955
|
+
SUSPENSE_QUEUED_START_DATA = "$~",
|
24940
24956
|
SUSPENSE_FALLBACK_START_DATA = "$!",
|
24941
24957
|
PREAMBLE_CONTRIBUTION_HTML = "html",
|
24942
24958
|
PREAMBLE_CONTRIBUTION_BODY = "body",
|
24943
24959
|
PREAMBLE_CONTRIBUTION_HEAD = "head",
|
24944
24960
|
FORM_STATE_IS_MATCHING = "F!",
|
24945
24961
|
FORM_STATE_IS_NOT_MATCHING = "F",
|
24946
|
-
|
24962
|
+
DOCUMENT_READY_STATE_LOADING = "loading",
|
24947
24963
|
STYLE = "style",
|
24948
24964
|
HostContextNamespaceNone = 0,
|
24949
24965
|
HostContextNamespaceSvg = 1,
|
@@ -25384,11 +25400,11 @@
|
|
25384
25400
|
};
|
25385
25401
|
(function () {
|
25386
25402
|
var isomorphicReactPackageVersion = React.version;
|
25387
|
-
if ("19.2.0-canary-
|
25403
|
+
if ("19.2.0-canary-f7396427-20250501" !== isomorphicReactPackageVersion)
|
25388
25404
|
throw Error(
|
25389
25405
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25390
25406
|
(isomorphicReactPackageVersion +
|
25391
|
-
"\n - react-dom: 19.2.0-canary-
|
25407
|
+
"\n - react-dom: 19.2.0-canary-f7396427-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
|
25392
25408
|
);
|
25393
25409
|
})();
|
25394
25410
|
("function" === typeof Map &&
|
@@ -25425,10 +25441,10 @@
|
|
25425
25441
|
!(function () {
|
25426
25442
|
var internals = {
|
25427
25443
|
bundleType: 1,
|
25428
|
-
version: "19.2.0-canary-
|
25444
|
+
version: "19.2.0-canary-f7396427-20250501",
|
25429
25445
|
rendererPackageName: "react-dom",
|
25430
25446
|
currentDispatcherRef: ReactSharedInternals,
|
25431
|
-
reconcilerVersion: "19.2.0-canary-
|
25447
|
+
reconcilerVersion: "19.2.0-canary-f7396427-20250501"
|
25432
25448
|
};
|
25433
25449
|
internals.overrideHookState = overrideHookState;
|
25434
25450
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25902,7 +25918,7 @@
|
|
25902
25918
|
exports.useFormStatus = function () {
|
25903
25919
|
return resolveDispatcher().useHostTransitionStatus();
|
25904
25920
|
};
|
25905
|
-
exports.version = "19.2.0-canary-
|
25921
|
+
exports.version = "19.2.0-canary-f7396427-20250501";
|
25906
25922
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25907
25923
|
"function" ===
|
25908
25924
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -4401,7 +4401,7 @@ function findFirstSuspended(row) {
|
|
4401
4401
|
null !== state &&
|
4402
4402
|
((state = state.dehydrated),
|
4403
4403
|
null === state ||
|
4404
|
-
|
4404
|
+
isSuspenseInstancePending(state) ||
|
4405
4405
|
isSuspenseInstanceFallback(state))
|
4406
4406
|
)
|
4407
4407
|
return node;
|
@@ -6987,14 +6987,15 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
|
6987
6987
|
scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps),
|
6988
6988
|
SelectiveHydrationException)
|
6989
6989
|
);
|
6990
|
-
|
6990
|
+
isSuspenseInstancePending(nextPrimaryChildren) ||
|
6991
|
+
renderDidSuspendDelayIfPossible();
|
6991
6992
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
6992
6993
|
current,
|
6993
6994
|
workInProgress,
|
6994
6995
|
renderLanes
|
6995
6996
|
);
|
6996
6997
|
} else
|
6997
|
-
|
6998
|
+
isSuspenseInstancePending(nextPrimaryChildren)
|
6998
6999
|
? ((workInProgress.flags |= 192),
|
6999
7000
|
(workInProgress.child = current.child),
|
7000
7001
|
(workInProgress = null))
|
@@ -14523,7 +14524,13 @@ function clearHydrationBoundary(parentInstance, hydrationInstance) {
|
|
14523
14524
|
return;
|
14524
14525
|
}
|
14525
14526
|
depth--;
|
14526
|
-
} else if (
|
14527
|
+
} else if (
|
14528
|
+
"$" === node ||
|
14529
|
+
"$?" === node ||
|
14530
|
+
"$~" === node ||
|
14531
|
+
"$!" === node ||
|
14532
|
+
"&" === node
|
14533
|
+
)
|
14527
14534
|
depth++;
|
14528
14535
|
else if ("html" === node)
|
14529
14536
|
releaseSingletonInstance(parentInstance.ownerDocument.documentElement);
|
@@ -14568,7 +14575,8 @@ function hideOrUnhideDehydratedBoundary(suspenseInstance, isHidden) {
|
|
14568
14575
|
if (0 === suspenseInstance) break;
|
14569
14576
|
else suspenseInstance--;
|
14570
14577
|
else
|
14571
|
-
("$" !== node && "$?" !== node && "$!" !== node) ||
|
14578
|
+
("$" !== node && "$?" !== node && "$~" !== node && "$!" !== node) ||
|
14579
|
+
suspenseInstance++;
|
14572
14580
|
node = nextNode;
|
14573
14581
|
} while (node);
|
14574
14582
|
}
|
@@ -14682,15 +14690,19 @@ function canHydrateHydrationBoundary(instance, inRootOrSingleton) {
|
|
14682
14690
|
}
|
14683
14691
|
return instance;
|
14684
14692
|
}
|
14693
|
+
function isSuspenseInstancePending(instance) {
|
14694
|
+
return "$?" === instance.data || "$~" === instance.data;
|
14695
|
+
}
|
14685
14696
|
function isSuspenseInstanceFallback(instance) {
|
14686
14697
|
return (
|
14687
14698
|
"$!" === instance.data ||
|
14688
|
-
("$?" === instance.data && "
|
14699
|
+
("$?" === instance.data && "loading" !== instance.ownerDocument.readyState)
|
14689
14700
|
);
|
14690
14701
|
}
|
14691
14702
|
function registerSuspenseInstanceRetry(instance, callback) {
|
14692
14703
|
var ownerDocument = instance.ownerDocument;
|
14693
|
-
if ("
|
14704
|
+
if ("$~" === instance.data) instance._reactRetry = callback;
|
14705
|
+
else if ("$?" !== instance.data || "loading" !== ownerDocument.readyState)
|
14694
14706
|
callback();
|
14695
14707
|
else {
|
14696
14708
|
var listener = function () {
|
@@ -14711,6 +14723,7 @@ function getNextHydratable(node) {
|
|
14711
14723
|
"$" === nodeType ||
|
14712
14724
|
"$!" === nodeType ||
|
14713
14725
|
"$?" === nodeType ||
|
14726
|
+
"$~" === nodeType ||
|
14714
14727
|
"&" === nodeType ||
|
14715
14728
|
"F!" === nodeType ||
|
14716
14729
|
"F" === nodeType
|
@@ -14732,7 +14745,11 @@ function getNextHydratableInstanceAfterHydrationBoundary(hydrationInstance) {
|
|
14732
14745
|
return getNextHydratable(hydrationInstance.nextSibling);
|
14733
14746
|
depth--;
|
14734
14747
|
} else
|
14735
|
-
("$" !== data &&
|
14748
|
+
("$" !== data &&
|
14749
|
+
"$!" !== data &&
|
14750
|
+
"$?" !== data &&
|
14751
|
+
"$~" !== data &&
|
14752
|
+
"&" !== data) ||
|
14736
14753
|
depth++;
|
14737
14754
|
}
|
14738
14755
|
hydrationInstance = hydrationInstance.nextSibling;
|
@@ -14744,7 +14761,13 @@ function getParentHydrationBoundary(targetInstance) {
|
|
14744
14761
|
for (var depth = 0; targetInstance; ) {
|
14745
14762
|
if (8 === targetInstance.nodeType) {
|
14746
14763
|
var data = targetInstance.data;
|
14747
|
-
if (
|
14764
|
+
if (
|
14765
|
+
"$" === data ||
|
14766
|
+
"$!" === data ||
|
14767
|
+
"$?" === data ||
|
14768
|
+
"$~" === data ||
|
14769
|
+
"&" === data
|
14770
|
+
) {
|
14748
14771
|
if (0 === depth) return targetInstance;
|
14749
14772
|
depth--;
|
14750
14773
|
} else ("/$" !== data && "/&" !== data) || depth++;
|
@@ -16313,14 +16336,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
16313
16336
|
};
|
16314
16337
|
var isomorphicReactPackageVersion$jscomp$inline_1933 = React.version;
|
16315
16338
|
if (
|
16316
|
-
"19.2.0-canary-
|
16339
|
+
"19.2.0-canary-f7396427-20250501" !==
|
16317
16340
|
isomorphicReactPackageVersion$jscomp$inline_1933
|
16318
16341
|
)
|
16319
16342
|
throw Error(
|
16320
16343
|
formatProdErrorMessage(
|
16321
16344
|
527,
|
16322
16345
|
isomorphicReactPackageVersion$jscomp$inline_1933,
|
16323
|
-
"19.2.0-canary-
|
16346
|
+
"19.2.0-canary-f7396427-20250501"
|
16324
16347
|
)
|
16325
16348
|
);
|
16326
16349
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -16342,10 +16365,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
16342
16365
|
};
|
16343
16366
|
var internals$jscomp$inline_1940 = {
|
16344
16367
|
bundleType: 0,
|
16345
|
-
version: "19.2.0-canary-
|
16368
|
+
version: "19.2.0-canary-f7396427-20250501",
|
16346
16369
|
rendererPackageName: "react-dom",
|
16347
16370
|
currentDispatcherRef: ReactSharedInternals,
|
16348
|
-
reconcilerVersion: "19.2.0-canary-
|
16371
|
+
reconcilerVersion: "19.2.0-canary-f7396427-20250501",
|
16349
16372
|
getLaneLabelMap: function () {
|
16350
16373
|
for (
|
16351
16374
|
var map = new Map(), lane = 1, index$293 = 0;
|
@@ -16625,7 +16648,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16625
16648
|
exports.useFormStatus = function () {
|
16626
16649
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16627
16650
|
};
|
16628
|
-
exports.version = "19.2.0-canary-
|
16651
|
+
exports.version = "19.2.0-canary-f7396427-20250501";
|
16629
16652
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16630
16653
|
"function" ===
|
16631
16654
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|