react-dom 19.1.0-canary-5398b711-20250314 → 19.1.0-canary-fbcda19a-20250317
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 +223 -258
- package/cjs/react-dom-client.production.js +235 -270
- package/cjs/react-dom-profiling.development.js +223 -258
- package/cjs/react-dom-profiling.profiling.js +262 -297
- package/cjs/react-dom-server-legacy.browser.development.js +7 -5
- package/cjs/react-dom-server-legacy.browser.production.js +7 -5
- package/cjs/react-dom-server-legacy.node.development.js +7 -5
- package/cjs/react-dom-server-legacy.node.production.js +7 -5
- package/cjs/react-dom-server.browser.development.js +9 -7
- package/cjs/react-dom-server.browser.production.js +9 -7
- package/cjs/react-dom-server.bun.development.js +9 -7
- package/cjs/react-dom-server.bun.production.js +9 -7
- package/cjs/react-dom-server.edge.development.js +9 -7
- package/cjs/react-dom-server.edge.production.js +9 -7
- package/cjs/react-dom-server.node.development.js +9 -7
- package/cjs/react-dom-server.node.production.js +9 -7
- 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
@@ -29,7 +29,7 @@ var util = require("util"),
|
|
29
29
|
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
30
30
|
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
31
31
|
REACT_SCOPE_TYPE = Symbol.for("react.scope"),
|
32
|
-
|
32
|
+
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
33
33
|
REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
|
34
34
|
REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
|
35
35
|
REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
|
@@ -3079,8 +3079,6 @@ function getComponentNameFromType(type) {
|
|
3079
3079
|
switch (type) {
|
3080
3080
|
case REACT_FRAGMENT_TYPE:
|
3081
3081
|
return "Fragment";
|
3082
|
-
case REACT_PORTAL_TYPE:
|
3083
|
-
return "Portal";
|
3084
3082
|
case REACT_PROFILER_TYPE:
|
3085
3083
|
return "Profiler";
|
3086
3084
|
case REACT_STRICT_MODE_TYPE:
|
@@ -3089,9 +3087,13 @@ function getComponentNameFromType(type) {
|
|
3089
3087
|
return "Suspense";
|
3090
3088
|
case REACT_SUSPENSE_LIST_TYPE:
|
3091
3089
|
return "SuspenseList";
|
3090
|
+
case REACT_ACTIVITY_TYPE:
|
3091
|
+
return "Activity";
|
3092
3092
|
}
|
3093
3093
|
if ("object" === typeof type)
|
3094
3094
|
switch (type.$$typeof) {
|
3095
|
+
case REACT_PORTAL_TYPE:
|
3096
|
+
return "Portal";
|
3095
3097
|
case REACT_CONTEXT_TYPE:
|
3096
3098
|
return (type.displayName || "Context") + ".Provider";
|
3097
3099
|
case REACT_CONSUMER_TYPE:
|
@@ -4438,7 +4440,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
4438
4440
|
renderNodeDestructive(request, task, props.children, -1);
|
4439
4441
|
task.keyPath = type;
|
4440
4442
|
return;
|
4441
|
-
case
|
4443
|
+
case REACT_ACTIVITY_TYPE:
|
4442
4444
|
"hidden" !== props.mode &&
|
4443
4445
|
((type = task.keyPath),
|
4444
4446
|
(task.keyPath = keyPath),
|
@@ -6214,11 +6216,11 @@ function abort(request, reason) {
|
|
6214
6216
|
}
|
6215
6217
|
function ensureCorrectIsomorphicReactVersion() {
|
6216
6218
|
var isomorphicReactPackageVersion = React.version;
|
6217
|
-
if ("19.1.0-canary-
|
6219
|
+
if ("19.1.0-canary-fbcda19a-20250317" !== isomorphicReactPackageVersion)
|
6218
6220
|
throw Error(
|
6219
6221
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6220
6222
|
(isomorphicReactPackageVersion +
|
6221
|
-
"\n - react-dom: 19.1.0-canary-
|
6223
|
+
"\n - react-dom: 19.1.0-canary-fbcda19a-20250317\nLearn more: https://react.dev/warnings/version-mismatch")
|
6222
6224
|
);
|
6223
6225
|
}
|
6224
6226
|
ensureCorrectIsomorphicReactVersion();
|
@@ -6367,4 +6369,4 @@ exports.renderToPipeableStream = function (children, options) {
|
|
6367
6369
|
}
|
6368
6370
|
};
|
6369
6371
|
};
|
6370
|
-
exports.version = "19.1.0-canary-
|
6372
|
+
exports.version = "19.1.0-canary-fbcda19a-20250317";
|
@@ -416,7 +416,7 @@
|
|
416
416
|
exports.useFormStatus = function () {
|
417
417
|
return resolveDispatcher().useHostTransitionStatus();
|
418
418
|
};
|
419
|
-
exports.version = "19.1.0-canary-
|
419
|
+
exports.version = "19.1.0-canary-fbcda19a-20250317";
|
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.1.0-canary-
|
210
|
+
exports.version = "19.1.0-canary-fbcda19a-20250317";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-dom",
|
3
|
-
"version": "19.1.0-canary-
|
3
|
+
"version": "19.1.0-canary-fbcda19a-20250317",
|
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.26.0-canary-
|
20
|
+
"scheduler": "0.26.0-canary-fbcda19a-20250317"
|
21
21
|
},
|
22
22
|
"peerDependencies": {
|
23
|
-
"react": "19.1.0-canary-
|
23
|
+
"react": "19.1.0-canary-fbcda19a-20250317"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"LICENSE",
|