Skip to content

Commit f8d29c2

Browse files
committed
[Flight] Client and Server Reference Creation into Runtime (#27033)
We already did this for Server References on the Client so this brings us parity with that. This gives us some more flexibility with changing the runtime implementation without having to affect the loaders. We can also do more in the runtime such as adding `.bind()` support to Server References. I also moved the CommonJS Proxy creation into the runtime helper from the register so that it can be handled in one place. This lets us remove the forks from Next.js since the loaders can be simplified there to just use these helpers. This PR doesn't change the protocol or shape of the objects. They're still specific to each bundler but ideally we should probably move this to shared helpers that can be used by multiple bundler implementations. DiffTrain build for commit fdc8c81.
1 parent 4880e36 commit f8d29c2

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
@@ -23982,7 +23982,7 @@ function createFiberRoot(
2398223982
return root;
2398323983
}
2398423984

23985-
var ReactVersion = "18.3.0-canary-eb2c2f7c2-20230706";
23985+
var ReactVersion = "18.3.0-canary-fdc8c81e0-20230707";
2398623986

2398723987
// Might add PROFILE later.
2398823988

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
@@ -8630,7 +8630,7 @@ var devToolsConfig$jscomp$inline_1032 = {
86308630
throw Error("TestRenderer does not support findFiberByHostInstance()");
86318631
},
86328632
bundleType: 0,
8633-
version: "18.3.0-canary-eb2c2f7c2-20230706",
8633+
version: "18.3.0-canary-fdc8c81e0-20230707",
86348634
rendererPackageName: "react-test-renderer"
86358635
};
86368636
var internals$jscomp$inline_1231 = {
@@ -8661,7 +8661,7 @@ var internals$jscomp$inline_1231 = {
86618661
scheduleRoot: null,
86628662
setRefreshHandler: null,
86638663
getCurrentFiber: null,
8664-
reconcilerVersion: "18.3.0-canary-eb2c2f7c2-20230706"
8664+
reconcilerVersion: "18.3.0-canary-fdc8c81e0-20230707"
86658665
};
86668666
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
86678667
var hook$jscomp$inline_1232 = __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
@@ -9056,7 +9056,7 @@ var devToolsConfig$jscomp$inline_1074 = {
90569056
throw Error("TestRenderer does not support findFiberByHostInstance()");
90579057
},
90589058
bundleType: 0,
9059-
version: "18.3.0-canary-eb2c2f7c2-20230706",
9059+
version: "18.3.0-canary-fdc8c81e0-20230707",
90609060
rendererPackageName: "react-test-renderer"
90619061
};
90629062
var internals$jscomp$inline_1272 = {
@@ -9087,7 +9087,7 @@ var internals$jscomp$inline_1272 = {
90879087
scheduleRoot: null,
90889088
setRefreshHandler: null,
90899089
getCurrentFiber: null,
9090-
reconcilerVersion: "18.3.0-canary-eb2c2f7c2-20230706"
9090+
reconcilerVersion: "18.3.0-canary-fdc8c81e0-20230707"
90919091
};
90929092
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
90939093
var hook$jscomp$inline_1273 = __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
@@ -27,7 +27,7 @@ if (
2727
}
2828
"use strict";
2929

30-
var ReactVersion = "18.3.0-canary-eb2c2f7c2-20230706";
30+
var ReactVersion = "18.3.0-canary-fdc8c81e0-20230707";
3131

3232
// ATTENTION
3333
// 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
@@ -616,4 +616,4 @@ exports.useSyncExternalStore = function (
616616
exports.useTransition = function () {
617617
return ReactCurrentDispatcher.current.useTransition();
618618
};
619-
exports.version = "18.3.0-canary-eb2c2f7c2-20230706";
619+
exports.version = "18.3.0-canary-fdc8c81e0-20230707";

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
@@ -619,7 +619,7 @@ exports.useSyncExternalStore = function (
619619
exports.useTransition = function () {
620620
return ReactCurrentDispatcher.current.useTransition();
621621
};
622-
exports.version = "18.3.0-canary-eb2c2f7c2-20230706";
622+
exports.version = "18.3.0-canary-fdc8c81e0-20230707";
623623

624624
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
625625
if (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
eb2c2f7c2cf2652a168c2b433d2989131c69754b
1+
fdc8c81e07e9b3b49604afe524ee6d130fd3e03e

0 commit comments

Comments
 (0)