react-dom 19.0.0-rc-6d3110b4d9-20240531 → 19.0.0-rc.0
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 +276 -108
- package/cjs/react-dom-client.production.js +449 -410
- package/cjs/react-dom-profiling.development.js +276 -108
- package/cjs/react-dom-profiling.profiling.js +477 -440
- 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 +1 -1
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +1 -1
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +1 -1
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +1 -1
- 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
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
17
17
|
var React = require('react');
|
18
18
|
var ReactDOM = require('react-dom');
|
19
19
|
|
20
|
-
var ReactVersion = '19.0.0
|
20
|
+
var ReactVersion = '19.0.0';
|
21
21
|
|
22
22
|
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
23
23
|
|
@@ -5469,4 +5469,4 @@ exports.renderToString = function (children, options) {
|
|
5469
5469
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
5470
5470
|
);
|
5471
5471
|
};
|
5472
|
-
exports.version = "19.0.0
|
5472
|
+
exports.version = "19.0.0";
|
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
17
17
|
var React = require('react');
|
18
18
|
var ReactDOM = require('react-dom');
|
19
19
|
|
20
|
-
var ReactVersion = '19.0.0
|
20
|
+
var ReactVersion = '19.0.0';
|
21
21
|
|
22
22
|
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
23
23
|
|
@@ -5551,4 +5551,4 @@ exports.renderToString = function (children, options) {
|
|
5551
5551
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
|
5552
5552
|
);
|
5553
5553
|
};
|
5554
|
-
exports.version = "19.0.0
|
5554
|
+
exports.version = "19.0.0";
|
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
17
17
|
var React = require('react');
|
18
18
|
var ReactDOM = require('react-dom');
|
19
19
|
|
20
|
-
var reactDOMPackageVersion = '19.0.0
|
20
|
+
var reactDOMPackageVersion = '19.0.0';
|
21
21
|
|
22
22
|
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
23
23
|
|
@@ -5717,14 +5717,14 @@ function abort(request, reason) {
|
|
5717
5717
|
}
|
5718
5718
|
var isomorphicReactPackageVersion$jscomp$inline_728 = React.version;
|
5719
5719
|
if (
|
5720
|
-
"19.0.0
|
5720
|
+
"19.0.0" !==
|
5721
5721
|
isomorphicReactPackageVersion$jscomp$inline_728
|
5722
5722
|
)
|
5723
5723
|
throw Error(
|
5724
5724
|
formatProdErrorMessage(
|
5725
5725
|
527,
|
5726
5726
|
isomorphicReactPackageVersion$jscomp$inline_728,
|
5727
|
-
"19.0.0
|
5727
|
+
"19.0.0"
|
5728
5728
|
)
|
5729
5729
|
);
|
5730
5730
|
exports.renderToReadableStream = function (children, options) {
|
@@ -5816,4 +5816,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
5816
5816
|
safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks);
|
5817
5817
|
});
|
5818
5818
|
};
|
5819
|
-
exports.version = "19.0.0
|
5819
|
+
exports.version = "19.0.0";
|
@@ -13,7 +13,7 @@
|
|
13
13
|
var React = require('react');
|
14
14
|
var ReactDOM = require('react-dom');
|
15
15
|
|
16
|
-
var reactDOMPackageVersion = '19.0.0
|
16
|
+
var reactDOMPackageVersion = '19.0.0';
|
17
17
|
|
18
18
|
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
19
19
|
|
@@ -5430,13 +5430,13 @@ function abort(request, reason) {
|
|
5430
5430
|
}
|
5431
5431
|
var isomorphicReactPackageVersion$jscomp$inline_724 = React.version;
|
5432
5432
|
if (
|
5433
|
-
"19.0.0
|
5433
|
+
"19.0.0" !==
|
5434
5434
|
isomorphicReactPackageVersion$jscomp$inline_724
|
5435
5435
|
)
|
5436
5436
|
throw Error(
|
5437
5437
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
5438
5438
|
(isomorphicReactPackageVersion$jscomp$inline_724 +
|
5439
|
-
"\n - react-dom: 19.0.0
|
5439
|
+
"\n - react-dom: 19.0.0\nLearn more: https://react.dev/warnings/version-mismatch")
|
5440
5440
|
);
|
5441
5441
|
exports.renderToReadableStream = function (children, options) {
|
5442
5442
|
return new Promise(function (resolve, reject) {
|
@@ -5527,4 +5527,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
5527
5527
|
safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks);
|
5528
5528
|
});
|
5529
5529
|
};
|
5530
|
-
exports.version = "19.0.0
|
5530
|
+
exports.version = "19.0.0";
|
@@ -17,7 +17,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
17
17
|
var React = require('react');
|
18
18
|
var ReactDOM = require('react-dom');
|
19
19
|
|
20
|
-
var reactDOMPackageVersion = '19.0.0
|
20
|
+
var reactDOMPackageVersion = '19.0.0';
|
21
21
|
|
22
22
|
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
23
23
|
|
@@ -5832,13 +5832,13 @@ function abort(request, reason) {
|
|
5832
5832
|
}
|
5833
5833
|
var isomorphicReactPackageVersion$jscomp$inline_728 = React.version;
|
5834
5834
|
if (
|
5835
|
-
"19.0.0
|
5835
|
+
"19.0.0" !==
|
5836
5836
|
isomorphicReactPackageVersion$jscomp$inline_728
|
5837
5837
|
)
|
5838
5838
|
throw Error(
|
5839
5839
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
5840
5840
|
(isomorphicReactPackageVersion$jscomp$inline_728 +
|
5841
|
-
"\n - react-dom: 19.0.0
|
5841
|
+
"\n - react-dom: 19.0.0\nLearn more: https://react.dev/warnings/version-mismatch")
|
5842
5842
|
);
|
5843
5843
|
exports.renderToReadableStream = function (children, options) {
|
5844
5844
|
return new Promise(function (resolve, reject) {
|
@@ -5926,4 +5926,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
5926
5926
|
startWork(request);
|
5927
5927
|
});
|
5928
5928
|
};
|
5929
|
-
exports.version = "19.0.0
|
5929
|
+
exports.version = "19.0.0";
|
@@ -20,7 +20,7 @@ var crypto = require('crypto');
|
|
20
20
|
var async_hooks = require('async_hooks');
|
21
21
|
var ReactDOM = require('react-dom');
|
22
22
|
|
23
|
-
var reactDOMPackageVersion = '19.0.0
|
23
|
+
var reactDOMPackageVersion = '19.0.0';
|
24
24
|
|
25
25
|
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
26
26
|
|
@@ -5456,13 +5456,13 @@ function abort(request, reason) {
|
|
5456
5456
|
}
|
5457
5457
|
var isomorphicReactPackageVersion$jscomp$inline_751 = React.version;
|
5458
5458
|
if (
|
5459
|
-
"19.0.0
|
5459
|
+
"19.0.0" !==
|
5460
5460
|
isomorphicReactPackageVersion$jscomp$inline_751
|
5461
5461
|
)
|
5462
5462
|
throw Error(
|
5463
5463
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
5464
5464
|
(isomorphicReactPackageVersion$jscomp$inline_751 +
|
5465
|
-
"\n - react-dom: 19.0.0
|
5465
|
+
"\n - react-dom: 19.0.0\nLearn more: https://react.dev/warnings/version-mismatch")
|
5466
5466
|
);
|
5467
5467
|
function createDrainHandler(destination, request) {
|
5468
5468
|
return function () {
|
@@ -5789,4 +5789,4 @@ exports.renderToPipeableStream = function (children, options) {
|
|
5789
5789
|
}
|
5790
5790
|
};
|
5791
5791
|
};
|
5792
|
-
exports.version = "19.0.0
|
5792
|
+
exports.version = "19.0.0";
|
@@ -206,4 +206,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
206
206
|
exports.useFormStatus = function () {
|
207
207
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
208
208
|
};
|
209
|
-
exports.version = "19.0.0
|
209
|
+
exports.version = "19.0.0";
|
@@ -16,7 +16,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
16
16
|
|
17
17
|
var React = require('react');
|
18
18
|
|
19
|
-
var ReactVersion = '19.0.0
|
19
|
+
var ReactVersion = '19.0.0';
|
20
20
|
|
21
21
|
var ReactSharedInternalsServer = // $FlowFixMe: It's defined in the one we resolve to.
|
22
22
|
React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-dom",
|
3
|
-
"version": "19.0.0-rc
|
3
|
+
"version": "19.0.0-rc.0",
|
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.25.0-rc
|
20
|
+
"scheduler": "0.25.0-rc.0"
|
21
21
|
},
|
22
22
|
"peerDependencies": {
|
23
|
-
"react": "19.0.0-rc
|
23
|
+
"react": "19.0.0-rc.0"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"LICENSE",
|