Skip to content

Commit 0bd6d70

Browse files
committed
[Flight] Transfer Debug Info in Server-to-Server Flight Requests (#28275)
A Flight Server can be a consumer of a stream from another Server. In this case the meta data is attached to debugInfo properties on lazy, Promises, Arrays or Elements that might in turn get forwarded to the next stream. In this case we want to forward this debug information to the client in the stream. I also added a DEV only `environmentName` option to the Flight Server. This lets you name the server that is producing the debug info so that you can trace the origin of where that component is executing. This defaults to `"server"`. DevTools could use this for badges or different colors. DiffTrain build for commit 629541b.
1 parent 88027c3 commit 0bd6d70

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25721,7 +25721,7 @@ if (__DEV__) {
2572125721
return root;
2572225722
}
2572325723

25724-
var ReactVersion = "18.3.0-canary-947e7962a-20240212";
25724+
var ReactVersion = "18.3.0-canary-629541bcc-20240212";
2572525725

2572625726
// Might add PROFILE later.
2572725727

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-prod.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9173,7 +9173,7 @@ var devToolsConfig$jscomp$inline_1023 = {
91739173
throw Error("TestRenderer does not support findFiberByHostInstance()");
91749174
},
91759175
bundleType: 0,
9176-
version: "18.3.0-canary-947e7962a-20240212",
9176+
version: "18.3.0-canary-629541bcc-20240212",
91779177
rendererPackageName: "react-test-renderer"
91789178
};
91799179
var internals$jscomp$inline_1204 = {
@@ -9204,7 +9204,7 @@ var internals$jscomp$inline_1204 = {
92049204
scheduleRoot: null,
92059205
setRefreshHandler: null,
92069206
getCurrentFiber: null,
9207-
reconcilerVersion: "18.3.0-canary-947e7962a-20240212"
9207+
reconcilerVersion: "18.3.0-canary-629541bcc-20240212"
92089208
};
92099209
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
92109210
var hook$jscomp$inline_1205 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react-test-renderer/cjs/ReactTestRenderer-profiling.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9601,7 +9601,7 @@ var devToolsConfig$jscomp$inline_1065 = {
96019601
throw Error("TestRenderer does not support findFiberByHostInstance()");
96029602
},
96039603
bundleType: 0,
9604-
version: "18.3.0-canary-947e7962a-20240212",
9604+
version: "18.3.0-canary-629541bcc-20240212",
96059605
rendererPackageName: "react-test-renderer"
96069606
};
96079607
var internals$jscomp$inline_1245 = {
@@ -9632,7 +9632,7 @@ var internals$jscomp$inline_1245 = {
96329632
scheduleRoot: null,
96339633
setRefreshHandler: null,
96349634
getCurrentFiber: null,
9635-
reconcilerVersion: "18.3.0-canary-947e7962a-20240212"
9635+
reconcilerVersion: "18.3.0-canary-629541bcc-20240212"
96369636
};
96379637
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
96389638
var hook$jscomp$inline_1246 = __REACT_DEVTOOLS_GLOBAL_HOOK__;

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if (__DEV__) {
2424
) {
2525
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2626
}
27-
var ReactVersion = "18.3.0-canary-947e7962a-20240212";
27+
var ReactVersion = "18.3.0-canary-629541bcc-20240212";
2828

2929
// ATTENTION
3030
// When adding new symbols to this file,

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,4 +551,4 @@ exports.useSyncExternalStore = function (
551551
exports.useTransition = function () {
552552
return ReactCurrentDispatcher.current.useTransition();
553553
};
554-
exports.version = "18.3.0-canary-947e7962a-20240212";
554+
exports.version = "18.3.0-canary-629541bcc-20240212";

compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/cjs/React-profiling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ exports.useSyncExternalStore = function (
547547
exports.useTransition = function () {
548548
return ReactCurrentDispatcher.current.useTransition();
549549
};
550-
exports.version = "18.3.0-canary-947e7962a-20240212";
550+
exports.version = "18.3.0-canary-629541bcc-20240212";
551551
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
552552
"function" ===
553553
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
947e7962ad43bd0fe8826c48d94a9df8d5206850
1+
629541bcc09fc7c0cc5c257541d084ee27457512

0 commit comments

Comments
 (0)