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
@@ -14347,14 +14347,7 @@
|
|
14347
14347
|
!shouldTimeSlice &&
|
14348
14348
|
markRootSuspended(root, lanes, 0, !1);
|
14349
14349
|
break;
|
14350
|
-
} else
|
14351
|
-
markRootSuspended(
|
14352
|
-
root,
|
14353
|
-
lanes,
|
14354
|
-
0,
|
14355
|
-
!workInProgressRootDidSkipSuspendedSiblings
|
14356
|
-
);
|
14357
|
-
else {
|
14350
|
+
} else {
|
14358
14351
|
forceSync = root.current.alternate;
|
14359
14352
|
if (
|
14360
14353
|
renderWasConcurrent &&
|
@@ -14428,16 +14421,15 @@
|
|
14428
14421
|
case RootFatalErrored:
|
14429
14422
|
throw Error("Root did not complete. This is a bug in React.");
|
14430
14423
|
case RootSuspendedWithDelay:
|
14431
|
-
if ((lanes & 4194176)
|
14432
|
-
|
14433
|
-
|
14434
|
-
|
14435
|
-
|
14436
|
-
|
14437
|
-
|
14438
|
-
|
14439
|
-
|
14440
|
-
break;
|
14424
|
+
if ((lanes & 4194176) !== lanes) break;
|
14425
|
+
case RootSuspendedAtTheShell:
|
14426
|
+
markRootSuspended(
|
14427
|
+
shouldTimeSlice,
|
14428
|
+
lanes,
|
14429
|
+
workInProgressDeferredLane,
|
14430
|
+
!workInProgressRootDidSkipSuspendedSiblings
|
14431
|
+
);
|
14432
|
+
break a;
|
14441
14433
|
case RootErrored:
|
14442
14434
|
workInProgressRootRecoverableErrors = null;
|
14443
14435
|
break;
|
@@ -14834,7 +14826,7 @@
|
|
14834
14826
|
switch (workInProgressSuspendedReason) {
|
14835
14827
|
case SuspendedOnHydration:
|
14836
14828
|
resetWorkInProgressStack();
|
14837
|
-
memoizedUpdaters =
|
14829
|
+
memoizedUpdaters = RootSuspendedAtTheShell;
|
14838
14830
|
break a;
|
14839
14831
|
case SuspendedOnImmediate:
|
14840
14832
|
case SuspendedOnData:
|
@@ -15013,7 +15005,7 @@
|
|
15013
15005
|
break;
|
15014
15006
|
case SuspendedOnHydration:
|
15015
15007
|
resetWorkInProgressStack();
|
15016
|
-
workInProgressRootExitStatus =
|
15008
|
+
workInProgressRootExitStatus = RootSuspendedAtTheShell;
|
15017
15009
|
break a;
|
15018
15010
|
default:
|
15019
15011
|
throw Error(
|
@@ -15240,7 +15232,7 @@
|
|
15240
15232
|
}
|
15241
15233
|
workInProgress = unitOfWork = next;
|
15242
15234
|
} while (null !== unitOfWork);
|
15243
|
-
workInProgressRootExitStatus =
|
15235
|
+
workInProgressRootExitStatus = RootSuspendedAtTheShell;
|
15244
15236
|
workInProgress = null;
|
15245
15237
|
}
|
15246
15238
|
function commitRoot(
|
@@ -19840,7 +19832,7 @@
|
|
19840
19832
|
) {
|
19841
19833
|
outsideHostContainerContext &&
|
19842
19834
|
console.error(
|
19843
|
-
'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
|
19835
|
+
'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"`.'
|
19844
19836
|
);
|
19845
19837
|
break;
|
19846
19838
|
}
|
@@ -23979,8 +23971,8 @@
|
|
23979
23971
|
RootErrored = 2,
|
23980
23972
|
RootSuspended = 3,
|
23981
23973
|
RootSuspendedWithDelay = 4,
|
23974
|
+
RootSuspendedAtTheShell = 6,
|
23982
23975
|
RootCompleted = 5,
|
23983
|
-
RootDidNotComplete = 6,
|
23984
23976
|
executionContext = NoContext,
|
23985
23977
|
workInProgressRoot = null,
|
23986
23978
|
workInProgress = null,
|
@@ -24576,11 +24568,11 @@
|
|
24576
24568
|
};
|
24577
24569
|
(function () {
|
24578
24570
|
var isomorphicReactPackageVersion = React.version;
|
24579
|
-
if ("19.0.0-rc-
|
24571
|
+
if ("19.0.0-rc-e1ef8c95-20241115" !== isomorphicReactPackageVersion)
|
24580
24572
|
throw Error(
|
24581
24573
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24582
24574
|
(isomorphicReactPackageVersion +
|
24583
|
-
"\n - react-dom: 19.0.0-rc-
|
24575
|
+
"\n - react-dom: 19.0.0-rc-e1ef8c95-20241115\nLearn more: https://react.dev/warnings/version-mismatch")
|
24584
24576
|
);
|
24585
24577
|
})();
|
24586
24578
|
("function" === typeof Map &&
|
@@ -24617,11 +24609,11 @@
|
|
24617
24609
|
!(function () {
|
24618
24610
|
var internals = {
|
24619
24611
|
bundleType: 1,
|
24620
|
-
version: "19.0.0-rc-
|
24612
|
+
version: "19.0.0-rc-e1ef8c95-20241115",
|
24621
24613
|
rendererPackageName: "react-dom",
|
24622
24614
|
currentDispatcherRef: ReactSharedInternals,
|
24623
24615
|
findFiberByHostInstance: getClosestInstanceFromNode,
|
24624
|
-
reconcilerVersion: "19.0.0-rc-
|
24616
|
+
reconcilerVersion: "19.0.0-rc-e1ef8c95-20241115"
|
24625
24617
|
};
|
24626
24618
|
internals.overrideHookState = overrideHookState;
|
24627
24619
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25095,7 +25087,7 @@
|
|
25095
25087
|
exports.useFormStatus = function () {
|
25096
25088
|
return resolveDispatcher().useHostTransitionStatus();
|
25097
25089
|
};
|
25098
|
-
exports.version = "19.0.0-rc-
|
25090
|
+
exports.version = "19.0.0-rc-e1ef8c95-20241115";
|
25099
25091
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25100
25092
|
"function" ===
|
25101
25093
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|