react-dom 19.2.0-canary-b6c0aa88-20250609 → 19.2.0-canary-b7e2de63-20250611
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 +169 -157
- package/cjs/react-dom-client.production.js +60 -43
- package/cjs/react-dom-profiling.development.js +169 -157
- package/cjs/react-dom-profiling.profiling.js +60 -43
- package/cjs/react-dom-server-legacy.browser.development.js +2 -4
- package/cjs/react-dom-server-legacy.browser.production.js +2 -4
- package/cjs/react-dom-server-legacy.node.development.js +2 -4
- package/cjs/react-dom-server-legacy.node.production.js +2 -4
- package/cjs/react-dom-server.browser.development.js +4 -6
- package/cjs/react-dom-server.browser.production.js +4 -6
- package/cjs/react-dom-server.bun.development.js +4 -6
- package/cjs/react-dom-server.bun.production.js +4 -6
- package/cjs/react-dom-server.edge.development.js +4 -6
- package/cjs/react-dom-server.edge.production.js +4 -6
- package/cjs/react-dom-server.node.development.js +4 -6
- package/cjs/react-dom-server.node.production.js +4 -6
- 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
@@ -3672,7 +3672,7 @@
|
|
3672
3672
|
case REACT_PORTAL_TYPE:
|
3673
3673
|
return "Portal";
|
3674
3674
|
case REACT_CONTEXT_TYPE:
|
3675
|
-
return
|
3675
|
+
return type.displayName || "Context";
|
3676
3676
|
case REACT_CONSUMER_TYPE:
|
3677
3677
|
return (type._context.displayName || "Context") + ".Consumer";
|
3678
3678
|
case REACT_FORWARD_REF_TYPE:
|
@@ -6083,7 +6083,6 @@
|
|
6083
6083
|
case REACT_MEMO_TYPE:
|
6084
6084
|
renderElement(request, task, keyPath, type.type, props, ref);
|
6085
6085
|
return;
|
6086
|
-
case REACT_PROVIDER_TYPE:
|
6087
6086
|
case REACT_CONTEXT_TYPE:
|
6088
6087
|
var value$jscomp$0 = props.value,
|
6089
6088
|
children$jscomp$2 = props.children;
|
@@ -8311,11 +8310,11 @@
|
|
8311
8310
|
}
|
8312
8311
|
function ensureCorrectIsomorphicReactVersion() {
|
8313
8312
|
var isomorphicReactPackageVersion = React.version;
|
8314
|
-
if ("19.2.0-canary-
|
8313
|
+
if ("19.2.0-canary-b7e2de63-20250611" !== isomorphicReactPackageVersion)
|
8315
8314
|
throw Error(
|
8316
8315
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8317
8316
|
(isomorphicReactPackageVersion +
|
8318
|
-
"\n - react-dom: 19.2.0-canary-
|
8317
|
+
"\n - react-dom: 19.2.0-canary-b7e2de63-20250611\nLearn more: https://react.dev/warnings/version-mismatch")
|
8319
8318
|
);
|
8320
8319
|
}
|
8321
8320
|
function createDrainHandler(destination, request) {
|
@@ -8417,7 +8416,6 @@
|
|
8417
8416
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
8418
8417
|
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
8419
8418
|
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
8420
|
-
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
8421
8419
|
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
8422
8420
|
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
8423
8421
|
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
@@ -10184,5 +10182,5 @@
|
|
10184
10182
|
startWork(request);
|
10185
10183
|
});
|
10186
10184
|
};
|
10187
|
-
exports.version = "19.2.0-canary-
|
10185
|
+
exports.version = "19.2.0-canary-b7e2de63-20250611";
|
10188
10186
|
})();
|
@@ -20,7 +20,6 @@ var util = require("util"),
|
|
20
20
|
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
21
21
|
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
22
22
|
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
23
|
-
REACT_PROVIDER_TYPE = Symbol.for("react.provider"),
|
24
23
|
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
25
24
|
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
26
25
|
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
@@ -3216,7 +3215,7 @@ function getComponentNameFromType(type) {
|
|
3216
3215
|
case REACT_PORTAL_TYPE:
|
3217
3216
|
return "Portal";
|
3218
3217
|
case REACT_CONTEXT_TYPE:
|
3219
|
-
return
|
3218
|
+
return type.displayName || "Context";
|
3220
3219
|
case REACT_CONSUMER_TYPE:
|
3221
3220
|
return (type._context.displayName || "Context") + ".Consumer";
|
3222
3221
|
case REACT_FORWARD_REF_TYPE:
|
@@ -5039,7 +5038,6 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
5039
5038
|
case REACT_MEMO_TYPE:
|
5040
5039
|
renderElement(request, task, keyPath, type.type, props, ref);
|
5041
5040
|
return;
|
5042
|
-
case REACT_PROVIDER_TYPE:
|
5043
5041
|
case REACT_CONTEXT_TYPE:
|
5044
5042
|
defaultProps = props.children;
|
5045
5043
|
newProps = task.keyPath;
|
@@ -6801,11 +6799,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
6801
6799
|
}
|
6802
6800
|
function ensureCorrectIsomorphicReactVersion() {
|
6803
6801
|
var isomorphicReactPackageVersion = React.version;
|
6804
|
-
if ("19.2.0-canary-
|
6802
|
+
if ("19.2.0-canary-b7e2de63-20250611" !== isomorphicReactPackageVersion)
|
6805
6803
|
throw Error(
|
6806
6804
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6807
6805
|
(isomorphicReactPackageVersion +
|
6808
|
-
"\n - react-dom: 19.2.0-canary-
|
6806
|
+
"\n - react-dom: 19.2.0-canary-b7e2de63-20250611\nLearn more: https://react.dev/warnings/version-mismatch")
|
6809
6807
|
);
|
6810
6808
|
}
|
6811
6809
|
ensureCorrectIsomorphicReactVersion();
|
@@ -7143,4 +7141,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
7143
7141
|
startWork(request);
|
7144
7142
|
});
|
7145
7143
|
};
|
7146
|
-
exports.version = "19.2.0-canary-
|
7144
|
+
exports.version = "19.2.0-canary-b7e2de63-20250611";
|
@@ -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-b7e2de63-20250611";
|
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-b7e2de63-20250611";
|
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-b7e2de63-20250611",
|
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-b7e2de63-20250611"
|
21
21
|
},
|
22
22
|
"peerDependencies": {
|
23
|
-
"react": "19.2.0-canary-
|
23
|
+
"react": "19.2.0-canary-b7e2de63-20250611"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"LICENSE",
|