react-server-dom-webpack 19.0.0-rc-6f23540c7d-20240528 → 19.0.0-rc-38e3b23483-20240529
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-server-dom-webpack-server.browser.development.js +1 -1
- package/cjs/react-server-dom-webpack-server.browser.production.js +5 -1
- package/cjs/react-server-dom-webpack-server.edge.development.js +1 -1
- package/cjs/react-server-dom-webpack-server.edge.production.js +5 -1
- package/cjs/react-server-dom-webpack-server.node.development.js +1 -1
- package/cjs/react-server-dom-webpack-server.node.production.js +5 -1
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +1 -1
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +5 -1
- package/package.json +3 -3
@@ -2011,7 +2011,7 @@ validated) // DEV-only
|
|
2011
2011
|
result = callComponentInDEV(Component, props, componentDebugInfo);
|
2012
2012
|
}
|
2013
2013
|
|
2014
|
-
if (typeof result === 'object' && result !== null) {
|
2014
|
+
if (typeof result === 'object' && result !== null && !isClientReference(result)) {
|
2015
2015
|
if (typeof result.then === 'function') {
|
2016
2016
|
// When the return value is in children position we can resolve it immediately,
|
2017
2017
|
// to its value without a wrapper if it's synchronously available.
|
@@ -932,7 +932,11 @@ function renderFunctionComponent(request, task, key, Component, props) {
|
|
932
932
|
thenableIndexCounter = 0;
|
933
933
|
thenableState = prevThenableState;
|
934
934
|
Component = Component(props, void 0);
|
935
|
-
if (
|
935
|
+
if (
|
936
|
+
"object" === typeof Component &&
|
937
|
+
null !== Component &&
|
938
|
+
Component.$$typeof !== CLIENT_REFERENCE_TAG$1
|
939
|
+
) {
|
936
940
|
if ("function" === typeof Component.then) {
|
937
941
|
props = Component;
|
938
942
|
if ("fulfilled" === props.status) return props.value;
|
@@ -2032,7 +2032,7 @@ validated) // DEV-only
|
|
2032
2032
|
result = callComponentInDEV(Component, props, componentDebugInfo);
|
2033
2033
|
}
|
2034
2034
|
|
2035
|
-
if (typeof result === 'object' && result !== null) {
|
2035
|
+
if (typeof result === 'object' && result !== null && !isClientReference(result)) {
|
2036
2036
|
if (typeof result.then === 'function') {
|
2037
2037
|
// When the return value is in children position we can resolve it immediately,
|
2038
2038
|
// to its value without a wrapper if it's synchronously available.
|
@@ -947,7 +947,11 @@ function renderFunctionComponent(request, task, key, Component, props) {
|
|
947
947
|
thenableIndexCounter = 0;
|
948
948
|
thenableState = prevThenableState;
|
949
949
|
Component = Component(props, void 0);
|
950
|
-
if (
|
950
|
+
if (
|
951
|
+
"object" === typeof Component &&
|
952
|
+
null !== Component &&
|
953
|
+
Component.$$typeof !== CLIENT_REFERENCE_TAG$1
|
954
|
+
) {
|
951
955
|
if ("function" === typeof Component.then) {
|
952
956
|
props = Component;
|
953
957
|
if ("fulfilled" === props.status) return props.value;
|
@@ -2083,7 +2083,7 @@ validated) // DEV-only
|
|
2083
2083
|
result = callComponentInDEV(Component, props, componentDebugInfo);
|
2084
2084
|
}
|
2085
2085
|
|
2086
|
-
if (typeof result === 'object' && result !== null) {
|
2086
|
+
if (typeof result === 'object' && result !== null && !isClientReference(result)) {
|
2087
2087
|
if (typeof result.then === 'function') {
|
2088
2088
|
// When the return value is in children position we can resolve it immediately,
|
2089
2089
|
// to its value without a wrapper if it's synchronously available.
|
@@ -973,7 +973,11 @@ function renderFunctionComponent(request, task, key, Component, props) {
|
|
973
973
|
thenableIndexCounter = 0;
|
974
974
|
thenableState = prevThenableState;
|
975
975
|
Component = Component(props, void 0);
|
976
|
-
if (
|
976
|
+
if (
|
977
|
+
"object" === typeof Component &&
|
978
|
+
null !== Component &&
|
979
|
+
Component.$$typeof !== CLIENT_REFERENCE_TAG$1
|
980
|
+
) {
|
977
981
|
if ("function" === typeof Component.then) {
|
978
982
|
props = Component;
|
979
983
|
if ("fulfilled" === props.status) return props.value;
|
@@ -2083,7 +2083,7 @@ validated) // DEV-only
|
|
2083
2083
|
result = callComponentInDEV(Component, props, componentDebugInfo);
|
2084
2084
|
}
|
2085
2085
|
|
2086
|
-
if (typeof result === 'object' && result !== null) {
|
2086
|
+
if (typeof result === 'object' && result !== null && !isClientReference(result)) {
|
2087
2087
|
if (typeof result.then === 'function') {
|
2088
2088
|
// When the return value is in children position we can resolve it immediately,
|
2089
2089
|
// to its value without a wrapper if it's synchronously available.
|
@@ -973,7 +973,11 @@ function renderFunctionComponent(request, task, key, Component, props) {
|
|
973
973
|
thenableIndexCounter = 0;
|
974
974
|
thenableState = prevThenableState;
|
975
975
|
Component = Component(props, void 0);
|
976
|
-
if (
|
976
|
+
if (
|
977
|
+
"object" === typeof Component &&
|
978
|
+
null !== Component &&
|
979
|
+
Component.$$typeof !== CLIENT_REFERENCE_TAG$1
|
980
|
+
) {
|
977
981
|
if ("function" === typeof Component.then) {
|
978
982
|
props = Component;
|
979
983
|
if ("fulfilled" === props.status) return props.value;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-server-dom-webpack",
|
3
3
|
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
|
4
|
-
"version": "19.0.0-rc-
|
4
|
+
"version": "19.0.0-rc-38e3b23483-20240529",
|
5
5
|
"keywords": [
|
6
6
|
"react"
|
7
7
|
],
|
@@ -77,8 +77,8 @@
|
|
77
77
|
"node": ">=0.10.0"
|
78
78
|
},
|
79
79
|
"peerDependencies": {
|
80
|
-
"react": "19.0.0-rc-
|
81
|
-
"react-dom": "19.0.0-rc-
|
80
|
+
"react": "19.0.0-rc-38e3b23483-20240529",
|
81
|
+
"react-dom": "19.0.0-rc-38e3b23483-20240529",
|
82
82
|
"webpack": "^5.59.0"
|
83
83
|
},
|
84
84
|
"dependencies": {
|