react-dom 19.2.0-canary-3820740a-20250509 → 19.2.0-canary-b94603b9-20250513

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.
@@ -3334,14 +3334,6 @@
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
- }
3345
3337
  function pushCompletedShellIdAttribute(target, resumableState) {
3346
3338
  (resumableState.instructions & SentCompletedShellId) === NothingSent &&
3347
3339
  ((resumableState.instructions |= SentCompletedShellId),
@@ -7346,8 +7338,7 @@
7346
7338
  var completedPreambleSegments = request.completedPreambleSegments;
7347
7339
  if (null === completedPreambleSegments) return;
7348
7340
  flushedByteSize = request.byteSize;
7349
- var resumableState = request.resumableState,
7350
- renderState = request.renderState,
7341
+ var renderState = request.renderState,
7351
7342
  preamble = renderState.preamble,
7352
7343
  htmlChunks = preamble.htmlChunks,
7353
7344
  headChunks = preamble.headChunks,
@@ -7404,12 +7395,6 @@
7404
7395
  renderState.scripts.clear();
7405
7396
  renderState.bulkPreloads.forEach(flushResource, destination);
7406
7397
  renderState.bulkPreloads.clear();
7407
- if (htmlChunks || headChunks) {
7408
- var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
7409
- writeChunk(destination, blockingRenderChunkStart);
7410
- writeChunk(destination, escapeTextForBrowser(shellId));
7411
- writeChunk(destination, blockingRenderChunkEnd);
7412
- }
7413
7398
  var hoistableChunks = renderState.hoistableChunks;
7414
7399
  for (
7415
7400
  i$jscomp$0 = 0;
@@ -7418,17 +7403,13 @@
7418
7403
  )
7419
7404
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
7420
7405
  for (
7421
- resumableState = hoistableChunks.length = 0;
7422
- resumableState < completedPreambleSegments.length;
7423
- resumableState++
7406
+ renderState = hoistableChunks.length = 0;
7407
+ renderState < completedPreambleSegments.length;
7408
+ renderState++
7424
7409
  ) {
7425
- var segments = completedPreambleSegments[resumableState];
7426
- for (
7427
- renderState = 0;
7428
- renderState < segments.length;
7429
- renderState++
7430
- )
7431
- flushSegment(request, destination, segments[renderState], null);
7410
+ var segments = completedPreambleSegments[renderState];
7411
+ for (preamble = 0; preamble < segments.length; preamble++)
7412
+ flushSegment(request, destination, segments[preamble], null);
7432
7413
  }
7433
7414
  var preamble$jscomp$0 = request.renderState.preamble,
7434
7415
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -7444,36 +7425,37 @@
7444
7425
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
7445
7426
  flushSegment(request, destination, completedRootSegment, null);
7446
7427
  request.completedRootSegment = null;
7447
- var resumableState$jscomp$0 = request.resumableState,
7448
- renderState$jscomp$0 = request.renderState;
7449
- (0 === request.allPendingTasks &&
7450
- 0 === request.clientRenderedBoundaries.length &&
7451
- 0 === request.completedBoundaries.length &&
7452
- (null === request.trackedPostpones ||
7453
- (0 === request.trackedPostpones.rootNodes.length &&
7454
- null === request.trackedPostpones.rootSlots))) ||
7455
- (resumableState$jscomp$0.instructions & SentMarkShellTime) !==
7456
- NothingSent ||
7457
- ((resumableState$jscomp$0.instructions |= SentMarkShellTime),
7458
- writeChunk(destination, renderState$jscomp$0.startInlineScript),
7459
- writeCompletedShellIdAttribute(
7460
- destination,
7461
- resumableState$jscomp$0
7462
- ),
7463
- writeChunk(destination, endOfStartTag),
7464
- writeChunk(destination, shellTimeRuntimeScript),
7465
- writeChunkAndReturn(destination, endInlineScript));
7466
- var preamble$jscomp$1 = renderState$jscomp$0.preamble;
7467
- (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
7468
- (resumableState$jscomp$0.instructions & SentCompletedShellId) ===
7469
- NothingSent &&
7470
- (writeChunk(destination, startChunkForTag("template")),
7471
- writeCompletedShellIdAttribute(
7472
- destination,
7473
- resumableState$jscomp$0
7474
- ),
7475
- writeChunk(destination, endOfStartTag),
7476
- writeChunk(destination, endChunkForTag("template")));
7428
+ var renderState$jscomp$0 = request.renderState;
7429
+ if (
7430
+ 0 !== request.allPendingTasks ||
7431
+ 0 !== request.clientRenderedBoundaries.length ||
7432
+ 0 !== request.completedBoundaries.length ||
7433
+ (null !== request.trackedPostpones &&
7434
+ (0 !== request.trackedPostpones.rootNodes.length ||
7435
+ null !== request.trackedPostpones.rootSlots))
7436
+ ) {
7437
+ var resumableState = request.resumableState;
7438
+ if (
7439
+ (resumableState.instructions & SentMarkShellTime) ===
7440
+ NothingSent
7441
+ ) {
7442
+ resumableState.instructions |= SentMarkShellTime;
7443
+ writeChunk(destination, renderState$jscomp$0.startInlineScript);
7444
+ if (
7445
+ (resumableState.instructions & SentCompletedShellId) ===
7446
+ NothingSent
7447
+ ) {
7448
+ resumableState.instructions |= SentCompletedShellId;
7449
+ var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
7450
+ writeChunk(destination, completedShellIdAttributeStart);
7451
+ writeChunk(destination, escapeTextForBrowser(shellId));
7452
+ writeChunk(destination, attributeEnd);
7453
+ }
7454
+ writeChunk(destination, endOfStartTag);
7455
+ writeChunk(destination, shellTimeRuntimeScript);
7456
+ writeChunkAndReturn(destination, endInlineScript);
7457
+ }
7458
+ }
7477
7459
  writeBootstrap(destination, renderState$jscomp$0);
7478
7460
  }
7479
7461
  var renderState$jscomp$1 = request.renderState;
@@ -7518,7 +7500,7 @@
7518
7500
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
7519
7501
  var boundary = clientRenderedBoundaries[i];
7520
7502
  renderState$jscomp$1 = destination;
7521
- var resumableState$jscomp$1 = request.resumableState,
7503
+ var resumableState$jscomp$0 = request.resumableState,
7522
7504
  renderState$jscomp$2 = request.renderState,
7523
7505
  id = boundary.rootSegmentID,
7524
7506
  errorDigest = boundary.errorDigest,
@@ -7530,10 +7512,10 @@
7530
7512
  renderState$jscomp$2.startInlineScript
7531
7513
  );
7532
7514
  writeChunk(renderState$jscomp$1, endOfStartTag);
7533
- (resumableState$jscomp$1.instructions &
7515
+ (resumableState$jscomp$0.instructions &
7534
7516
  SentClientRenderFunction) ===
7535
7517
  NothingSent
7536
- ? ((resumableState$jscomp$1.instructions |=
7518
+ ? ((resumableState$jscomp$0.instructions |=
7537
7519
  SentClientRenderFunction),
7538
7520
  writeChunk(renderState$jscomp$1, clientRenderScript1Full))
7539
7521
  : writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
@@ -7761,11 +7743,11 @@
7761
7743
  }
7762
7744
  function ensureCorrectIsomorphicReactVersion() {
7763
7745
  var isomorphicReactPackageVersion = React.version;
7764
- if ("19.2.0-canary-3820740a-20250509" !== isomorphicReactPackageVersion)
7746
+ if ("19.2.0-canary-b94603b9-20250513" !== isomorphicReactPackageVersion)
7765
7747
  throw Error(
7766
7748
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7767
7749
  (isomorphicReactPackageVersion +
7768
- "\n - react-dom: 19.2.0-canary-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
7750
+ "\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
7769
7751
  );
7770
7752
  }
7771
7753
  function createDrainHandler(destination, request) {
@@ -9094,14 +9076,10 @@
9094
9076
  styleTagResourceOpen2 = stringToPrecomputedChunk('" data-href="'),
9095
9077
  spaceSeparator = stringToPrecomputedChunk(" "),
9096
9078
  styleTagResourceOpen3 = stringToPrecomputedChunk('">'),
9097
- styleTagResourceClose = stringToPrecomputedChunk("</style>"),
9098
- blockingRenderChunkStart = stringToPrecomputedChunk(
9099
- '<link rel="expect" href="#'
9100
- ),
9101
- blockingRenderChunkEnd = stringToPrecomputedChunk(
9102
- '" blocking="render"/>'
9103
- ),
9104
- completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
9079
+ styleTagResourceClose = stringToPrecomputedChunk("</style>");
9080
+ stringToPrecomputedChunk('<link rel="expect" href="#');
9081
+ stringToPrecomputedChunk('" blocking="render"/>');
9082
+ var completedShellIdAttributeStart = stringToPrecomputedChunk(' id="'),
9105
9083
  arrayFirstOpenBracket = stringToPrecomputedChunk("["),
9106
9084
  arraySubsequentOpenBracket = stringToPrecomputedChunk(",["),
9107
9085
  arrayInterstitial = stringToPrecomputedChunk(","),
@@ -9450,5 +9428,5 @@
9450
9428
  }
9451
9429
  };
9452
9430
  };
9453
- exports.version = "19.2.0-canary-3820740a-20250509";
9431
+ exports.version = "19.2.0-canary-b94603b9-20250513";
9454
9432
  })();
@@ -2590,19 +2590,9 @@ function preloadLateStyles(styleQueue) {
2590
2590
  styleQueue.sheets.forEach(preloadLateStyle, this);
2591
2591
  styleQueue.sheets.clear();
2592
2592
  }
2593
- var blockingRenderChunkStart = stringToPrecomputedChunk(
2594
- '<link rel="expect" href="#'
2595
- ),
2596
- blockingRenderChunkEnd = stringToPrecomputedChunk('" blocking="render"/>'),
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
- }
2593
+ stringToPrecomputedChunk('<link rel="expect" href="#');
2594
+ stringToPrecomputedChunk('" blocking="render"/>');
2595
+ var completedShellIdAttributeStart = stringToPrecomputedChunk(' id="');
2606
2596
  function pushCompletedShellIdAttribute(target, resumableState) {
2607
2597
  0 === (resumableState.instructions & 32) &&
2608
2598
  ((resumableState.instructions |= 32),
@@ -6010,8 +6000,7 @@ function flushCompletedQueues(request, destination) {
6010
6000
  var completedPreambleSegments = request.completedPreambleSegments;
6011
6001
  if (null === completedPreambleSegments) return;
6012
6002
  flushedByteSize = request.byteSize;
6013
- var resumableState = request.resumableState,
6014
- renderState = request.renderState,
6003
+ var renderState = request.renderState,
6015
6004
  preamble = renderState.preamble,
6016
6005
  htmlChunks = preamble.htmlChunks,
6017
6006
  headChunks = preamble.headChunks,
@@ -6052,23 +6041,17 @@ function flushCompletedQueues(request, destination) {
6052
6041
  renderState.scripts.clear();
6053
6042
  renderState.bulkPreloads.forEach(flushResource, destination);
6054
6043
  renderState.bulkPreloads.clear();
6055
- if (htmlChunks || headChunks) {
6056
- var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
6057
- writeChunk(destination, blockingRenderChunkStart);
6058
- writeChunk(destination, escapeTextForBrowser(shellId));
6059
- writeChunk(destination, blockingRenderChunkEnd);
6060
- }
6061
6044
  var hoistableChunks = renderState.hoistableChunks;
6062
6045
  for (i$jscomp$0 = 0; i$jscomp$0 < hoistableChunks.length; i$jscomp$0++)
6063
6046
  writeChunk(destination, hoistableChunks[i$jscomp$0]);
6064
6047
  for (
6065
- resumableState = hoistableChunks.length = 0;
6066
- resumableState < completedPreambleSegments.length;
6067
- resumableState++
6048
+ renderState = hoistableChunks.length = 0;
6049
+ renderState < completedPreambleSegments.length;
6050
+ renderState++
6068
6051
  ) {
6069
- var segments = completedPreambleSegments[resumableState];
6070
- for (renderState = 0; renderState < segments.length; renderState++)
6071
- flushSegment(request, destination, segments[renderState], null);
6052
+ var segments = completedPreambleSegments[renderState];
6053
+ for (preamble = 0; preamble < segments.length; preamble++)
6054
+ flushSegment(request, destination, segments[preamble], null);
6072
6055
  }
6073
6056
  var preamble$jscomp$0 = request.renderState.preamble,
6074
6057
  headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
@@ -6084,28 +6067,31 @@ function flushCompletedQueues(request, destination) {
6084
6067
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
6085
6068
  flushSegment(request, destination, completedRootSegment, null);
6086
6069
  request.completedRootSegment = null;
6087
- var resumableState$jscomp$0 = request.resumableState,
6088
- renderState$jscomp$0 = request.renderState;
6089
- (0 === request.allPendingTasks &&
6090
- 0 === request.clientRenderedBoundaries.length &&
6091
- 0 === request.completedBoundaries.length &&
6092
- (null === request.trackedPostpones ||
6093
- (0 === request.trackedPostpones.rootNodes.length &&
6094
- null === request.trackedPostpones.rootSlots))) ||
6095
- 0 !== (resumableState$jscomp$0.instructions & 64) ||
6096
- ((resumableState$jscomp$0.instructions |= 64),
6097
- writeChunk(destination, renderState$jscomp$0.startInlineScript),
6098
- writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
6099
- writeChunk(destination, endOfStartTag),
6100
- writeChunk(destination, shellTimeRuntimeScript),
6101
- writeChunkAndReturn(destination, endInlineScript));
6102
- var preamble$jscomp$1 = renderState$jscomp$0.preamble;
6103
- (preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
6104
- 0 === (resumableState$jscomp$0.instructions & 32) &&
6105
- (writeChunk(destination, startChunkForTag("template")),
6106
- writeCompletedShellIdAttribute(destination, resumableState$jscomp$0),
6107
- writeChunk(destination, endOfStartTag),
6108
- writeChunk(destination, endChunkForTag("template")));
6070
+ var renderState$jscomp$0 = request.renderState;
6071
+ if (
6072
+ 0 !== request.allPendingTasks ||
6073
+ 0 !== request.clientRenderedBoundaries.length ||
6074
+ 0 !== request.completedBoundaries.length ||
6075
+ (null !== request.trackedPostpones &&
6076
+ (0 !== request.trackedPostpones.rootNodes.length ||
6077
+ null !== request.trackedPostpones.rootSlots))
6078
+ ) {
6079
+ var resumableState = request.resumableState;
6080
+ if (0 === (resumableState.instructions & 64)) {
6081
+ resumableState.instructions |= 64;
6082
+ writeChunk(destination, renderState$jscomp$0.startInlineScript);
6083
+ if (0 === (resumableState.instructions & 32)) {
6084
+ resumableState.instructions |= 32;
6085
+ var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
6086
+ writeChunk(destination, completedShellIdAttributeStart);
6087
+ writeChunk(destination, escapeTextForBrowser(shellId));
6088
+ writeChunk(destination, attributeEnd);
6089
+ }
6090
+ writeChunk(destination, endOfStartTag);
6091
+ writeChunk(destination, shellTimeRuntimeScript);
6092
+ writeChunkAndReturn(destination, endInlineScript);
6093
+ }
6094
+ }
6109
6095
  writeBootstrap(destination, renderState$jscomp$0);
6110
6096
  }
6111
6097
  var renderState$jscomp$1 = request.renderState;
@@ -6144,7 +6130,7 @@ function flushCompletedQueues(request, destination) {
6144
6130
  for (i = 0; i < clientRenderedBoundaries.length; i++) {
6145
6131
  var boundary = clientRenderedBoundaries[i];
6146
6132
  renderState$jscomp$1 = destination;
6147
- var resumableState$jscomp$1 = request.resumableState,
6133
+ var resumableState$jscomp$0 = request.resumableState,
6148
6134
  renderState$jscomp$2 = request.renderState,
6149
6135
  id = boundary.rootSegmentID,
6150
6136
  errorDigest = boundary.errorDigest;
@@ -6153,8 +6139,8 @@ function flushCompletedQueues(request, destination) {
6153
6139
  renderState$jscomp$2.startInlineScript
6154
6140
  );
6155
6141
  writeChunk(renderState$jscomp$1, endOfStartTag);
6156
- 0 === (resumableState$jscomp$1.instructions & 4)
6157
- ? ((resumableState$jscomp$1.instructions |= 4),
6142
+ 0 === (resumableState$jscomp$0.instructions & 4)
6143
+ ? ((resumableState$jscomp$0.instructions |= 4),
6158
6144
  writeChunk(renderState$jscomp$1, clientRenderScript1Full))
6159
6145
  : writeChunk(renderState$jscomp$1, clientRenderScript1Partial);
6160
6146
  writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
@@ -6332,11 +6318,11 @@ function abort(request, reason) {
6332
6318
  }
6333
6319
  function ensureCorrectIsomorphicReactVersion() {
6334
6320
  var isomorphicReactPackageVersion = React.version;
6335
- if ("19.2.0-canary-3820740a-20250509" !== isomorphicReactPackageVersion)
6321
+ if ("19.2.0-canary-b94603b9-20250513" !== isomorphicReactPackageVersion)
6336
6322
  throw Error(
6337
6323
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6338
6324
  (isomorphicReactPackageVersion +
6339
- "\n - react-dom: 19.2.0-canary-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
6325
+ "\n - react-dom: 19.2.0-canary-b94603b9-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
6340
6326
  );
6341
6327
  }
6342
6328
  ensureCorrectIsomorphicReactVersion();
@@ -6485,4 +6471,4 @@ exports.renderToPipeableStream = function (children, options) {
6485
6471
  }
6486
6472
  };
6487
6473
  };
6488
- exports.version = "19.2.0-canary-3820740a-20250509";
6474
+ exports.version = "19.2.0-canary-b94603b9-20250513";
@@ -416,7 +416,7 @@
416
416
  exports.useFormStatus = function () {
417
417
  return resolveDispatcher().useHostTransitionStatus();
418
418
  };
419
- exports.version = "19.2.0-canary-3820740a-20250509";
419
+ exports.version = "19.2.0-canary-b94603b9-20250513";
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-3820740a-20250509";
210
+ exports.version = "19.2.0-canary-b94603b9-20250513";
@@ -336,5 +336,5 @@
336
336
  }))
337
337
  : Internals.d.m(href));
338
338
  };
339
- exports.version = "19.2.0-canary-3820740a-20250509";
339
+ exports.version = "19.2.0-canary-b94603b9-20250513";
340
340
  })();
@@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) {
149
149
  });
150
150
  } else Internals.d.m(href);
151
151
  };
152
- exports.version = "19.2.0-canary-3820740a-20250509";
152
+ exports.version = "19.2.0-canary-b94603b9-20250513";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dom",
3
- "version": "19.2.0-canary-3820740a-20250509",
3
+ "version": "19.2.0-canary-b94603b9-20250513",
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-3820740a-20250509"
20
+ "scheduler": "0.27.0-canary-b94603b9-20250513"
21
21
  },
22
22
  "peerDependencies": {
23
- "react": "19.2.0-canary-3820740a-20250509"
23
+ "react": "19.2.0-canary-b94603b9-20250513"
24
24
  },
25
25
  "files": [
26
26
  "LICENSE",