react-dom 19.0.0-rc-b01722d5-20241114 → 19.0.0-rc-e1ef8c95-20241115
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 +20 -28
- package/cjs/react-dom-client.production.js +163 -171
- package/cjs/react-dom-profiling.development.js +20 -28
- package/cjs/react-dom-profiling.profiling.js +166 -174
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- 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
@@ -14339,14 +14339,7 @@
|
|
14339
14339
|
!shouldTimeSlice &&
|
14340
14340
|
markRootSuspended(root, lanes, 0, !1);
|
14341
14341
|
break;
|
14342
|
-
} else
|
14343
|
-
markRootSuspended(
|
14344
|
-
root,
|
14345
|
-
lanes,
|
14346
|
-
0,
|
14347
|
-
!workInProgressRootDidSkipSuspendedSiblings
|
14348
|
-
);
|
14349
|
-
else {
|
14342
|
+
} else {
|
14350
14343
|
forceSync = root.current.alternate;
|
14351
14344
|
if (
|
14352
14345
|
renderWasConcurrent &&
|
@@ -14420,16 +14413,15 @@
|
|
14420
14413
|
case RootFatalErrored:
|
14421
14414
|
throw Error("Root did not complete. This is a bug in React.");
|
14422
14415
|
case RootSuspendedWithDelay:
|
14423
|
-
if ((lanes & 4194176)
|
14424
|
-
|
14425
|
-
|
14426
|
-
|
14427
|
-
|
14428
|
-
|
14429
|
-
|
14430
|
-
|
14431
|
-
|
14432
|
-
break;
|
14416
|
+
if ((lanes & 4194176) !== lanes) break;
|
14417
|
+
case RootSuspendedAtTheShell:
|
14418
|
+
markRootSuspended(
|
14419
|
+
shouldTimeSlice,
|
14420
|
+
lanes,
|
14421
|
+
workInProgressDeferredLane,
|
14422
|
+
!workInProgressRootDidSkipSuspendedSiblings
|
14423
|
+
);
|
14424
|
+
break a;
|
14433
14425
|
case RootErrored:
|
14434
14426
|
workInProgressRootRecoverableErrors = null;
|
14435
14427
|
break;
|
@@ -14822,7 +14814,7 @@
|
|
14822
14814
|
switch (workInProgressSuspendedReason) {
|
14823
14815
|
case SuspendedOnHydration:
|
14824
14816
|
resetWorkInProgressStack();
|
14825
|
-
memoizedUpdaters =
|
14817
|
+
memoizedUpdaters = RootSuspendedAtTheShell;
|
14826
14818
|
break a;
|
14827
14819
|
case SuspendedOnImmediate:
|
14828
14820
|
case SuspendedOnData:
|
@@ -15001,7 +14993,7 @@
|
|
15001
14993
|
break;
|
15002
14994
|
case SuspendedOnHydration:
|
15003
14995
|
resetWorkInProgressStack();
|
15004
|
-
workInProgressRootExitStatus =
|
14996
|
+
workInProgressRootExitStatus = RootSuspendedAtTheShell;
|
15005
14997
|
break a;
|
15006
14998
|
default:
|
15007
14999
|
throw Error(
|
@@ -15228,7 +15220,7 @@
|
|
15228
15220
|
}
|
15229
15221
|
workInProgress = unitOfWork = next;
|
15230
15222
|
} while (null !== unitOfWork);
|
15231
|
-
workInProgressRootExitStatus =
|
15223
|
+
workInProgressRootExitStatus = RootSuspendedAtTheShell;
|
15232
15224
|
workInProgress = null;
|
15233
15225
|
}
|
15234
15226
|
function commitRoot(
|
@@ -19828,7 +19820,7 @@
|
|
19828
19820
|
) {
|
19829
19821
|
outsideHostContainerContext &&
|
19830
19822
|
console.error(
|
19831
|
-
'Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not
|
19823
|
+
'Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.'
|
19832
19824
|
);
|
19833
19825
|
break;
|
19834
19826
|
}
|
@@ -23922,8 +23914,8 @@
|
|
23922
23914
|
RootErrored = 2,
|
23923
23915
|
RootSuspended = 3,
|
23924
23916
|
RootSuspendedWithDelay = 4,
|
23917
|
+
RootSuspendedAtTheShell = 6,
|
23925
23918
|
RootCompleted = 5,
|
23926
|
-
RootDidNotComplete = 6,
|
23927
23919
|
executionContext = NoContext,
|
23928
23920
|
workInProgressRoot = null,
|
23929
23921
|
workInProgress = null,
|
@@ -24519,11 +24511,11 @@
|
|
24519
24511
|
};
|
24520
24512
|
(function () {
|
24521
24513
|
var isomorphicReactPackageVersion = React.version;
|
24522
|
-
if ("19.0.0-rc-
|
24514
|
+
if ("19.0.0-rc-e1ef8c95-20241115" !== isomorphicReactPackageVersion)
|
24523
24515
|
throw Error(
|
24524
24516
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24525
24517
|
(isomorphicReactPackageVersion +
|
24526
|
-
"\n - react-dom: 19.0.0-rc-
|
24518
|
+
"\n - react-dom: 19.0.0-rc-e1ef8c95-20241115\nLearn more: https://react.dev/warnings/version-mismatch")
|
24527
24519
|
);
|
24528
24520
|
})();
|
24529
24521
|
("function" === typeof Map &&
|
@@ -24560,11 +24552,11 @@
|
|
24560
24552
|
!(function () {
|
24561
24553
|
var internals = {
|
24562
24554
|
bundleType: 1,
|
24563
|
-
version: "19.0.0-rc-
|
24555
|
+
version: "19.0.0-rc-e1ef8c95-20241115",
|
24564
24556
|
rendererPackageName: "react-dom",
|
24565
24557
|
currentDispatcherRef: ReactSharedInternals,
|
24566
24558
|
findFiberByHostInstance: getClosestInstanceFromNode,
|
24567
|
-
reconcilerVersion: "19.0.0-rc-
|
24559
|
+
reconcilerVersion: "19.0.0-rc-e1ef8c95-20241115"
|
24568
24560
|
};
|
24569
24561
|
internals.overrideHookState = overrideHookState;
|
24570
24562
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -24708,7 +24700,7 @@
|
|
24708
24700
|
listenToAllSupportedEvents(container);
|
24709
24701
|
return new ReactDOMHydrationRoot(initialChildren);
|
24710
24702
|
};
|
24711
|
-
exports.version = "19.0.0-rc-
|
24703
|
+
exports.version = "19.0.0-rc-e1ef8c95-20241115";
|
24712
24704
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
24713
24705
|
"function" ===
|
24714
24706
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|