react-dom 19.2.0-canary-ea05b750-20250408 → 19.2.0-canary-c44e4a25-20250409

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.
@@ -2209,6 +2209,8 @@ function writeBootstrap(destination, renderState) {
2209
2209
  }
2210
2210
  var placeholder1 = stringToPrecomputedChunk('<template id="'),
2211
2211
  placeholder2 = stringToPrecomputedChunk('"></template>'),
2212
+ startActivityBoundary = stringToPrecomputedChunk("\x3c!--&--\x3e"),
2213
+ endActivityBoundary = stringToPrecomputedChunk("\x3c!--/&--\x3e"),
2212
2214
  startCompletedSuspenseBoundary = stringToPrecomputedChunk("\x3c!--$--\x3e"),
2213
2215
  startPendingSuspenseBoundary1 = stringToPrecomputedChunk(
2214
2216
  '\x3c!--$?--\x3e<template id="'
@@ -4441,11 +4443,33 @@ function renderElement(request, task, keyPath, type, props, ref) {
4441
4443
  task.keyPath = type;
4442
4444
  return;
4443
4445
  case REACT_ACTIVITY_TYPE:
4444
- "hidden" !== props.mode &&
4445
- ((type = task.keyPath),
4446
- (task.keyPath = keyPath),
4447
- renderNodeDestructive(request, task, props.children, -1),
4448
- (task.keyPath = type));
4446
+ type = task.blockedSegment;
4447
+ if (null === type)
4448
+ "hidden" !== props.mode &&
4449
+ ((type = task.keyPath),
4450
+ (task.keyPath = keyPath),
4451
+ renderNode(request, task, props.children, -1),
4452
+ (task.keyPath = type));
4453
+ else {
4454
+ type.chunks.push(startActivityBoundary);
4455
+ type.lastPushedText = !1;
4456
+ "hidden" !== props.mode &&
4457
+ ((newProps = task.keyPath),
4458
+ (task.keyPath = keyPath),
4459
+ renderNode(request, task, props.children, -1),
4460
+ (task.keyPath = newProps));
4461
+ request = type.chunks;
4462
+ if ((task = task.blockedPreamble))
4463
+ (task = task.contribution),
4464
+ 0 !== task &&
4465
+ request.push(
4466
+ boundaryPreambleContributionChunkStart,
4467
+ "" + task,
4468
+ boundaryPreambleContributionChunkEnd
4469
+ );
4470
+ request.push(endActivityBoundary);
4471
+ type.lastPushedText = !1;
4472
+ }
4449
4473
  return;
4450
4474
  case REACT_SUSPENSE_LIST_TYPE:
4451
4475
  type = task.keyPath;
@@ -5175,15 +5199,15 @@ function renderNode(request, task, node, childIndex) {
5175
5199
  chunkLength = segment.chunks.length;
5176
5200
  try {
5177
5201
  return renderNodeDestructive(request, task, node, childIndex);
5178
- } catch (thrownValue$48) {
5202
+ } catch (thrownValue$50) {
5179
5203
  if (
5180
5204
  (resetHooksState(),
5181
5205
  (segment.children.length = childrenLength),
5182
5206
  (segment.chunks.length = chunkLength),
5183
5207
  (node =
5184
- thrownValue$48 === SuspenseException
5208
+ thrownValue$50 === SuspenseException
5185
5209
  ? getSuspendedThenable()
5186
- : thrownValue$48),
5210
+ : thrownValue$50),
5187
5211
  "object" === typeof node && null !== node)
5188
5212
  ) {
5189
5213
  if ("function" === typeof node.then) {
@@ -6082,11 +6106,11 @@ function flushCompletedQueues(request, destination) {
6082
6106
  destinationHasCapacity$1 = !0;
6083
6107
  var partialBoundaries = request.partialBoundaries;
6084
6108
  for (i = 0; i < partialBoundaries.length; i++) {
6085
- var boundary$51 = partialBoundaries[i];
6109
+ var boundary$53 = partialBoundaries[i];
6086
6110
  a: {
6087
6111
  clientRenderedBoundaries = request;
6088
6112
  boundary = destination;
6089
- var completedSegments = boundary$51.completedSegments;
6113
+ var completedSegments = boundary$53.completedSegments;
6090
6114
  for (
6091
6115
  JSCompiler_inline_result = 0;
6092
6116
  JSCompiler_inline_result < completedSegments.length;
@@ -6096,7 +6120,7 @@ function flushCompletedQueues(request, destination) {
6096
6120
  !flushPartiallyCompletedSegment(
6097
6121
  clientRenderedBoundaries,
6098
6122
  boundary,
6099
- boundary$51,
6123
+ boundary$53,
6100
6124
  completedSegments[JSCompiler_inline_result]
6101
6125
  )
6102
6126
  ) {
@@ -6108,7 +6132,7 @@ function flushCompletedQueues(request, destination) {
6108
6132
  completedSegments.splice(0, JSCompiler_inline_result);
6109
6133
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6110
6134
  boundary,
6111
- boundary$51.contentState,
6135
+ boundary$53.contentState,
6112
6136
  clientRenderedBoundaries.renderState
6113
6137
  );
6114
6138
  }
@@ -6210,17 +6234,17 @@ function abort(request, reason) {
6210
6234
  }
6211
6235
  null !== request.destination &&
6212
6236
  flushCompletedQueues(request, request.destination);
6213
- } catch (error$53) {
6214
- logRecoverableError(request, error$53, {}), fatalError(request, error$53);
6237
+ } catch (error$55) {
6238
+ logRecoverableError(request, error$55, {}), fatalError(request, error$55);
6215
6239
  }
6216
6240
  }
6217
6241
  function ensureCorrectIsomorphicReactVersion() {
6218
6242
  var isomorphicReactPackageVersion = React.version;
6219
- if ("19.2.0-canary-ea05b750-20250408" !== isomorphicReactPackageVersion)
6243
+ if ("19.2.0-canary-c44e4a25-20250409" !== isomorphicReactPackageVersion)
6220
6244
  throw Error(
6221
6245
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
6222
6246
  (isomorphicReactPackageVersion +
6223
- "\n - react-dom: 19.2.0-canary-ea05b750-20250408\nLearn more: https://react.dev/warnings/version-mismatch")
6247
+ "\n - react-dom: 19.2.0-canary-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch")
6224
6248
  );
6225
6249
  }
6226
6250
  ensureCorrectIsomorphicReactVersion();
@@ -6369,4 +6393,4 @@ exports.renderToPipeableStream = function (children, options) {
6369
6393
  }
6370
6394
  };
6371
6395
  };
6372
- exports.version = "19.2.0-canary-ea05b750-20250408";
6396
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -416,7 +416,7 @@
416
416
  exports.useFormStatus = function () {
417
417
  return resolveDispatcher().useHostTransitionStatus();
418
418
  };
419
- exports.version = "19.2.0-canary-ea05b750-20250408";
419
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
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-ea05b750-20250408";
210
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
@@ -336,5 +336,5 @@
336
336
  }))
337
337
  : Internals.d.m(href));
338
338
  };
339
- exports.version = "19.2.0-canary-ea05b750-20250408";
339
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
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-ea05b750-20250408";
152
+ exports.version = "19.2.0-canary-c44e4a25-20250409";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-dom",
3
- "version": "19.2.0-canary-ea05b750-20250408",
3
+ "version": "19.2.0-canary-c44e4a25-20250409",
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-ea05b750-20250408"
20
+ "scheduler": "0.27.0-canary-c44e4a25-20250409"
21
21
  },
22
22
  "peerDependencies": {
23
- "react": "19.2.0-canary-ea05b750-20250408"
23
+ "react": "19.2.0-canary-c44e4a25-20250409"
24
24
  },
25
25
  "files": [
26
26
  "LICENSE",