react-dom 19.2.0-canary-408d055a-20250430 → 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
@@ -3334,6 +3334,14 @@
|
|
3334
3334
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
3335
3335
|
styleQueue.sheets.clear();
|
3336
3336
|
}
|
3337
|
+
function writeCompletedShellIdAttribute(destination, resumableState) {
|
3338
|
+
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
3339
|
+
((resumableState.instructions |= SentCompletedShellId),
|
3340
|
+
(resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
3341
|
+
writeChunk(destination, completedShellIdAttributeStart),
|
3342
|
+
writeChunk(destination, escapeTextForBrowser(resumableState)),
|
3343
|
+
writeChunk(destination, attributeEnd));
|
3344
|
+
}
|
3337
3345
|
function pushCompletedShellIdAttribute(target, resumableState) {
|
3338
3346
|
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
3339
3347
|
((resumableState.instructions |= SentCompletedShellId),
|
@@ -7248,21 +7256,22 @@
|
|
7248
7256
|
writeChunk(destination, request.startInlineScript);
|
7249
7257
|
writeChunk(destination, endOfStartTag);
|
7250
7258
|
requiresStyleInsertion
|
7251
|
-
? (completedSegments.instructions &
|
7259
|
+
? ((completedSegments.instructions & SentClientRenderFunction) ===
|
7260
|
+
NothingSent &&
|
7261
|
+
((completedSegments.instructions |= SentClientRenderFunction),
|
7262
|
+
writeChunk(destination, clientRenderScriptFunctionOnly)),
|
7263
|
+
(completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
7264
|
+
NothingSent &&
|
7265
|
+
((completedSegments.instructions |= SentCompleteBoundaryFunction),
|
7266
|
+
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
7267
|
+
(completedSegments.instructions & SentStyleInsertionFunction) ===
|
7252
7268
|
NothingSent
|
7253
|
-
? ((completedSegments.instructions =
|
7254
|
-
completedSegments.instructions |
|
7255
|
-
SentStyleInsertionFunction |
|
7256
|
-
SentCompleteBoundaryFunction),
|
7257
|
-
writeChunk(destination, completeBoundaryWithStylesScript1FullBoth))
|
7258
|
-
: (completedSegments.instructions & SentStyleInsertionFunction) ===
|
7259
|
-
NothingSent
|
7260
7269
|
? ((completedSegments.instructions |= SentStyleInsertionFunction),
|
7261
7270
|
writeChunk(
|
7262
7271
|
destination,
|
7263
7272
|
completeBoundaryWithStylesScript1FullPartial
|
7264
7273
|
))
|
7265
|
-
: writeChunk(destination, completeBoundaryWithStylesScript1Partial)
|
7274
|
+
: writeChunk(destination, completeBoundaryWithStylesScript1Partial))
|
7266
7275
|
: (completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
7267
7276
|
NothingSent
|
7268
7277
|
? ((completedSegments.instructions |= SentCompleteBoundaryFunction),
|
@@ -7439,21 +7448,35 @@
|
|
7439
7448
|
flushSegment(request, destination, completedRootSegment, null);
|
7440
7449
|
request.completedRootSegment = null;
|
7441
7450
|
var resumableState$jscomp$0 = request.resumableState,
|
7442
|
-
renderState$jscomp$0 = request.renderState
|
7443
|
-
|
7444
|
-
|
7445
|
-
|
7451
|
+
renderState$jscomp$0 = request.renderState;
|
7452
|
+
(0 === request.allPendingTasks &&
|
7453
|
+
0 === request.clientRenderedBoundaries.length &&
|
7454
|
+
0 === request.completedBoundaries.length &&
|
7455
|
+
(null === request.trackedPostpones ||
|
7456
|
+
(0 === request.trackedPostpones.rootNodes.length &&
|
7457
|
+
null === request.trackedPostpones.rootSlots))) ||
|
7458
|
+
(resumableState$jscomp$0.instructions & SentMarkShellTime) !==
|
7459
|
+
NothingSent ||
|
7460
|
+
((resumableState$jscomp$0.instructions |= SentMarkShellTime),
|
7461
|
+
writeChunk(destination, renderState$jscomp$0.startInlineScript),
|
7462
|
+
writeCompletedShellIdAttribute(
|
7463
|
+
destination,
|
7464
|
+
resumableState$jscomp$0
|
7465
|
+
),
|
7466
|
+
writeChunk(destination, endOfStartTag),
|
7467
|
+
writeChunk(destination, shellTimeRuntimeScript),
|
7468
|
+
writeChunkAndReturn(destination, endInlineScript));
|
7469
|
+
var preamble$jscomp$1 = renderState$jscomp$0.preamble;
|
7470
|
+
(preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
|
7446
7471
|
(resumableState$jscomp$0.instructions & SentCompletedShellId) ===
|
7447
|
-
NothingSent
|
7448
|
-
|
7449
|
-
|
7450
|
-
|
7451
|
-
pushCompletedShellIdAttribute(
|
7452
|
-
bootstrapChunks,
|
7472
|
+
NothingSent &&
|
7473
|
+
(writeChunk(destination, startChunkForTag("template")),
|
7474
|
+
writeCompletedShellIdAttribute(
|
7475
|
+
destination,
|
7453
7476
|
resumableState$jscomp$0
|
7454
|
-
)
|
7455
|
-
|
7456
|
-
|
7477
|
+
),
|
7478
|
+
writeChunk(destination, endOfStartTag),
|
7479
|
+
writeChunk(destination, endChunkForTag("template")));
|
7457
7480
|
writeBootstrap(destination, renderState$jscomp$0);
|
7458
7481
|
}
|
7459
7482
|
var renderState$jscomp$1 = request.renderState;
|
@@ -7650,7 +7673,6 @@
|
|
7650
7673
|
}
|
7651
7674
|
} finally {
|
7652
7675
|
0 === request.allPendingTasks &&
|
7653
|
-
0 === request.pingedTasks.length &&
|
7654
7676
|
0 === request.clientRenderedBoundaries.length &&
|
7655
7677
|
0 === request.completedBoundaries.length
|
7656
7678
|
? ((request.flushScheduled = !1),
|
@@ -7742,11 +7764,11 @@
|
|
7742
7764
|
}
|
7743
7765
|
function ensureCorrectIsomorphicReactVersion() {
|
7744
7766
|
var isomorphicReactPackageVersion = React.version;
|
7745
|
-
if ("19.2.0-canary-
|
7767
|
+
if ("19.2.0-canary-f7396427-20250501" !== isomorphicReactPackageVersion)
|
7746
7768
|
throw Error(
|
7747
7769
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
7748
7770
|
(isomorphicReactPackageVersion +
|
7749
|
-
"\n - react-dom: 19.2.0-canary-
|
7771
|
+
"\n - react-dom: 19.2.0-canary-f7396427-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
|
7750
7772
|
);
|
7751
7773
|
}
|
7752
7774
|
function createDrainHandler(destination, request) {
|
@@ -8881,6 +8903,7 @@
|
|
8881
8903
|
SentClientRenderFunction = 4,
|
8882
8904
|
SentStyleInsertionFunction = 8,
|
8883
8905
|
SentCompletedShellId = 32,
|
8906
|
+
SentMarkShellTime = 64,
|
8884
8907
|
EXISTS = null,
|
8885
8908
|
PRELOAD_NO_CREDS = [];
|
8886
8909
|
Object.freeze(PRELOAD_NO_CREDS);
|
@@ -8955,6 +8978,9 @@
|
|
8955
8978
|
validatedTagCache = new Map(),
|
8956
8979
|
doctypeChunk = stringToPrecomputedChunk("<!DOCTYPE html>"),
|
8957
8980
|
endTagCache = new Map(),
|
8981
|
+
shellTimeRuntimeScript = stringToPrecomputedChunk(
|
8982
|
+
"requestAnimationFrame(function(){$RT=performance.now()});"
|
8983
|
+
),
|
8958
8984
|
placeholder1 = stringToPrecomputedChunk('<template id="'),
|
8959
8985
|
placeholder2 = stringToPrecomputedChunk('"></template>'),
|
8960
8986
|
startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
|
@@ -9019,15 +9045,15 @@
|
|
9019
9045
|
completeSegmentScriptEnd = stringToPrecomputedChunk('")\x3c/script>');
|
9020
9046
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
9021
9047
|
stringToPrecomputedChunk('" data-pid="');
|
9022
|
-
var
|
9023
|
-
'$RC=function(
|
9048
|
+
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
9049
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
9024
9050
|
),
|
9025
|
-
|
9026
|
-
|
9027
|
-
'$RC=function(b,d,e){d=document.getElementById(d);d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
|
9051
|
+
completeBoundaryScript1Full = stringToPrecomputedChunk(
|
9052
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};$RC("'
|
9028
9053
|
),
|
9054
|
+
completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
9029
9055
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
9030
|
-
'$RM=new Map
|
9056
|
+
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
|
9031
9057
|
),
|
9032
9058
|
completeBoundaryWithStylesScript1Partial =
|
9033
9059
|
stringToPrecomputedChunk('$RR("'),
|
@@ -9039,7 +9065,10 @@
|
|
9039
9065
|
stringToPrecomputedChunk('<template data-rri="" data-bid="');
|
9040
9066
|
stringToPrecomputedChunk('" data-sid="');
|
9041
9067
|
stringToPrecomputedChunk('" data-sty="');
|
9042
|
-
var
|
9068
|
+
var clientRenderScriptFunctionOnly = stringToPrecomputedChunk(
|
9069
|
+
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
|
9070
|
+
),
|
9071
|
+
clientRenderScript1Full = stringToPrecomputedChunk(
|
9043
9072
|
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
|
9044
9073
|
),
|
9045
9074
|
clientRenderScript1Partial = stringToPrecomputedChunk('$RX("'),
|
@@ -9424,5 +9453,5 @@
|
|
9424
9453
|
}
|
9425
9454
|
};
|
9426
9455
|
};
|
9427
|
-
exports.version = "19.2.0-canary-
|
9456
|
+
exports.version = "19.2.0-canary-f7396427-20250501";
|
9428
9457
|
})();
|
@@ -2244,7 +2244,10 @@ function writeBootstrap(destination, renderState) {
|
|
2244
2244
|
writeChunkAndReturn(destination, i))
|
2245
2245
|
: !0;
|
2246
2246
|
}
|
2247
|
-
var
|
2247
|
+
var shellTimeRuntimeScript = stringToPrecomputedChunk(
|
2248
|
+
"requestAnimationFrame(function(){$RT=performance.now()});"
|
2249
|
+
),
|
2250
|
+
placeholder1 = stringToPrecomputedChunk('<template id="'),
|
2248
2251
|
placeholder2 = stringToPrecomputedChunk('"></template>'),
|
2249
2252
|
startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
|
2250
2253
|
endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
|
@@ -2392,15 +2395,15 @@ var completeSegmentScript1Full = stringToPrecomputedChunk(
|
|
2392
2395
|
completeSegmentScriptEnd = stringToPrecomputedChunk('")\x3c/script>');
|
2393
2396
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
2394
2397
|
stringToPrecomputedChunk('" data-pid="');
|
2395
|
-
var
|
2396
|
-
'$RC=function(
|
2398
|
+
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
2399
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
2397
2400
|
),
|
2398
|
-
|
2399
|
-
|
2400
|
-
'$RC=function(b,d,e){d=document.getElementById(d);d.parentNode.removeChild(d);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var c=a.data;if("/$"===c||"/&"===c)if(0===f)break;else f--;else"$"!==c&&"$?"!==c&&"$!"!==c&&"&"!==c||f++}c=a.nextSibling;e.removeChild(a);a=c}while(a);for(;d.firstChild;)e.insertBefore(d.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;\n$RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=\nd;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,\nt,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("'
|
2401
|
+
completeBoundaryScript1Full = stringToPrecomputedChunk(
|
2402
|
+
'$RB=[];$RC=function(d,c){function m(){$RT=performance.now();var f=$RB;$RB=[];for(var e=0;e<f.length;e+=2){var a=f[e],l=f[e+1],g=a.parentNode;if(g){var h=a.previousSibling,k=0;do{if(a&&8===a.nodeType){var b=a.data;if("/$"===b||"/&"===b)if(0===k)break;else k--;else"$"!==b&&"$?"!==b&&"$~"!==b&&"$!"!==b&&"&"!==b||k++}b=a.nextSibling;g.removeChild(a);a=b}while(a);for(;l.firstChild;)g.insertBefore(l.firstChild,a);h.data="$";h._reactRetry&&h._reactRetry()}}}if(c=document.getElementById(c))if(c.parentNode.removeChild(c),d=\ndocument.getElementById(d))d.previousSibling.data="$~",$RB.push(d,c),2===$RB.length&&setTimeout(m,("number"!==typeof $RT?0:$RT)+300-performance.now())};$RC("'
|
2401
2403
|
),
|
2404
|
+
completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
2402
2405
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
2403
|
-
'$RM=new Map
|
2406
|
+
'$RM=new Map;$RR=function(n,w,p){function u(q){this._p=null;q()}for(var r=new Map,t=document,h,b,e=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=[],k=0;b=e[k++];)"not all"===b.getAttribute("media")?v.push(b):("LINK"===b.tagName&&$RM.set(b.getAttribute("href"),b),r.set(b.dataset.precedence,h=b));e=0;b=[];var l,a;for(k=!0;;){if(k){var f=p[e++];if(!f){k=!1;e=0;continue}var c=!1,m=0;var d=f[m++];if(a=$RM.get(d)){var g=a._p;c=!0}else{a=t.createElement("link");a.href=d;a.rel=\n"stylesheet";for(a.dataset.precedence=l=f[m++];g=f[m++];)a.setAttribute(g,f[m++]);g=a._p=new Promise(function(q,x){a.onload=u.bind(a,q);a.onerror=u.bind(a,x)});$RM.set(d,a)}d=a.getAttribute("media");!g||d&&!matchMedia(d).matches||b.push(g);if(c)continue}else{a=v[e++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=r.get(l)||h;c===h&&(h=a);r.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=t.head,c.insertBefore(a,c.firstChild))}if(p=document.getElementById(n))p.previousSibling.data=\n"$~";Promise.all(b).then($RC.bind(null,n,w),$RX.bind(null,n,"CSS failed to load"))};$RR("'
|
2404
2407
|
),
|
2405
2408
|
completeBoundaryWithStylesScript1Partial = stringToPrecomputedChunk('$RR("'),
|
2406
2409
|
completeBoundaryScript2 = stringToPrecomputedChunk('","'),
|
@@ -2411,7 +2414,10 @@ stringToPrecomputedChunk('<template data-rci="" data-bid="');
|
|
2411
2414
|
stringToPrecomputedChunk('<template data-rri="" data-bid="');
|
2412
2415
|
stringToPrecomputedChunk('" data-sid="');
|
2413
2416
|
stringToPrecomputedChunk('" data-sty="');
|
2414
|
-
var
|
2417
|
+
var clientRenderScriptFunctionOnly = stringToPrecomputedChunk(
|
2418
|
+
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
|
2419
|
+
),
|
2420
|
+
clientRenderScript1Full = stringToPrecomputedChunk(
|
2415
2421
|
'$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
|
2416
2422
|
),
|
2417
2423
|
clientRenderScript1Partial = stringToPrecomputedChunk('$RX("'),
|
@@ -2589,6 +2595,14 @@ var blockingRenderChunkStart = stringToPrecomputedChunk(
|
|
2589
2595
|
),
|
2590
2596
|
blockingRenderChunkEnd = stringToPrecomputedChunk('" blocking="render"/>'),
|
2591
2597
|
completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
|
2598
|
+
function writeCompletedShellIdAttribute(destination, resumableState) {
|
2599
|
+
0 === (resumableState.instructions & 32) &&
|
2600
|
+
((resumableState.instructions |= 32),
|
2601
|
+
(resumableState = "\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
2602
|
+
writeChunk(destination, completedShellIdAttributeStart),
|
2603
|
+
writeChunk(destination, escapeTextForBrowser(resumableState)),
|
2604
|
+
writeChunk(destination, attributeEnd));
|
2605
|
+
}
|
2592
2606
|
function pushCompletedShellIdAttribute(target, resumableState) {
|
2593
2607
|
0 === (resumableState.instructions & 32) &&
|
2594
2608
|
((resumableState.instructions |= 32),
|
@@ -5922,13 +5936,16 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5922
5936
|
writeChunk(destination, request.startInlineScript);
|
5923
5937
|
writeChunk(destination, endOfStartTag);
|
5924
5938
|
requiresStyleInsertion
|
5925
|
-
? 0 === (completedSegments.instructions &
|
5926
|
-
|
5927
|
-
writeChunk(destination,
|
5928
|
-
|
5939
|
+
? (0 === (completedSegments.instructions & 4) &&
|
5940
|
+
((completedSegments.instructions |= 4),
|
5941
|
+
writeChunk(destination, clientRenderScriptFunctionOnly)),
|
5942
|
+
0 === (completedSegments.instructions & 2) &&
|
5943
|
+
((completedSegments.instructions |= 2),
|
5944
|
+
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
5945
|
+
0 === (completedSegments.instructions & 8)
|
5929
5946
|
? ((completedSegments.instructions |= 8),
|
5930
5947
|
writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
|
5931
|
-
: writeChunk(destination, completeBoundaryWithStylesScript1Partial)
|
5948
|
+
: writeChunk(destination, completeBoundaryWithStylesScript1Partial))
|
5932
5949
|
: 0 === (completedSegments.instructions & 2)
|
5933
5950
|
? ((completedSegments.instructions |= 2),
|
5934
5951
|
writeChunk(destination, completeBoundaryScript1Full))
|
@@ -6070,20 +6087,27 @@ function flushCompletedQueues(request, destination) {
|
|
6070
6087
|
flushSegment(request, destination, completedRootSegment, null);
|
6071
6088
|
request.completedRootSegment = null;
|
6072
6089
|
var resumableState$jscomp$0 = request.resumableState,
|
6073
|
-
renderState$jscomp$0 = request.renderState
|
6074
|
-
|
6075
|
-
|
6076
|
-
|
6077
|
-
|
6078
|
-
|
6079
|
-
|
6080
|
-
|
6081
|
-
|
6082
|
-
|
6083
|
-
|
6084
|
-
)
|
6085
|
-
|
6086
|
-
|
6090
|
+
renderState$jscomp$0 = request.renderState;
|
6091
|
+
(0 === request.allPendingTasks &&
|
6092
|
+
0 === request.clientRenderedBoundaries.length &&
|
6093
|
+
0 === request.completedBoundaries.length &&
|
6094
|
+
(null === request.trackedPostpones ||
|
6095
|
+
(0 === request.trackedPostpones.rootNodes.length &&
|
6096
|
+
null === request.trackedPostpones.rootSlots))) ||
|
6097
|
+
0 !== (resumableState$jscomp$0.instructions & 64) ||
|
6098
|
+
((resumableState$jscomp$0.instructions |= 64),
|
6099
|
+
writeChunk(destination, renderState$jscomp$0.startInlineScript),
|
6100
|
+
writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
|
6101
|
+
writeChunk(destination, endOfStartTag),
|
6102
|
+
writeChunk(destination, shellTimeRuntimeScript),
|
6103
|
+
writeChunkAndReturn(destination, endInlineScript));
|
6104
|
+
var preamble$jscomp$1 = renderState$jscomp$0.preamble;
|
6105
|
+
(preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
|
6106
|
+
0 === (resumableState$jscomp$0.instructions & 32) &&
|
6107
|
+
(writeChunk(destination, startChunkForTag("template")),
|
6108
|
+
writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
|
6109
|
+
writeChunk(destination, endOfStartTag),
|
6110
|
+
writeChunk(destination, endChunkForTag("template")));
|
6087
6111
|
writeBootstrap(destination, renderState$jscomp$0);
|
6088
6112
|
}
|
6089
6113
|
var renderState$jscomp$1 = request.renderState;
|
@@ -6227,7 +6251,6 @@ function flushCompletedQueues(request, destination) {
|
|
6227
6251
|
}
|
6228
6252
|
} finally {
|
6229
6253
|
0 === request.allPendingTasks &&
|
6230
|
-
0 === request.pingedTasks.length &&
|
6231
6254
|
0 === request.clientRenderedBoundaries.length &&
|
6232
6255
|
0 === request.completedBoundaries.length
|
6233
6256
|
? ((request.flushScheduled = !1),
|
@@ -6311,11 +6334,11 @@ function abort(request, reason) {
|
|
6311
6334
|
}
|
6312
6335
|
function ensureCorrectIsomorphicReactVersion() {
|
6313
6336
|
var isomorphicReactPackageVersion = React.version;
|
6314
|
-
if ("19.2.0-canary-
|
6337
|
+
if ("19.2.0-canary-f7396427-20250501" !== isomorphicReactPackageVersion)
|
6315
6338
|
throw Error(
|
6316
6339
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6317
6340
|
(isomorphicReactPackageVersion +
|
6318
|
-
"\n - react-dom: 19.2.0-canary-
|
6341
|
+
"\n - react-dom: 19.2.0-canary-f7396427-20250501\nLearn more: https://react.dev/warnings/version-mismatch")
|
6319
6342
|
);
|
6320
6343
|
}
|
6321
6344
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6464,4 +6487,4 @@ exports.renderToPipeableStream = function (children, options) {
|
|
6464
6487
|
}
|
6465
6488
|
};
|
6466
6489
|
};
|
6467
|
-
exports.version = "19.2.0-canary-
|
6490
|
+
exports.version = "19.2.0-canary-f7396427-20250501";
|
@@ -416,7 +416,7 @@
|
|
416
416
|
exports.useFormStatus = function () {
|
417
417
|
return resolveDispatcher().useHostTransitionStatus();
|
418
418
|
};
|
419
|
-
exports.version = "19.2.0-canary-
|
419
|
+
exports.version = "19.2.0-canary-f7396427-20250501";
|
420
420
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
421
421
|
"function" ===
|
422
422
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
207
207
|
exports.useFormStatus = function () {
|
208
208
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
209
209
|
};
|
210
|
-
exports.version = "19.2.0-canary-
|
210
|
+
exports.version = "19.2.0-canary-f7396427-20250501";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-dom",
|
3
|
-
"version": "19.2.0-canary-
|
3
|
+
"version": "19.2.0-canary-f7396427-20250501",
|
4
4
|
"description": "React package for working with the DOM.",
|
5
5
|
"main": "index.js",
|
6
6
|
"repository": {
|
@@ -17,10 +17,10 @@
|
|
17
17
|
},
|
18
18
|
"homepage": "https://react.dev/",
|
19
19
|
"dependencies": {
|
20
|
-
"scheduler": "0.27.0-canary-
|
20
|
+
"scheduler": "0.27.0-canary-f7396427-20250501"
|
21
21
|
},
|
22
22
|
"peerDependencies": {
|
23
|
-
"react": "19.2.0-canary-
|
23
|
+
"react": "19.2.0-canary-f7396427-20250501"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"LICENSE",
|