Skip to content

Commit 8086b98

Browse files
committed
[Flight] createServerReference should export $$FORM_ACTION on the Server (#26987)
Currently, only the browser build exposes the `$$FORM_ACTION` helper. It's used for creating progressive enhancement fro Server Actions imported from Client Components. This helper is only useful in SSR builds so it should be included in the Edge/Node builds of the client. I also removed it from the browser build. We assume that only the Edge or Node builds of the client are used together with SSR. On the client this feature is not needed so we can exclude the code. This might be a bit unnecessary because it's not that much code and in theory you might use SSR in a Service Worker or something where the Browser build would be used but currently we assume that build is only for the client. That's why it also don't take an option for reverse look up of file names. DiffTrain build for commit 2153a29.
1 parent 0867ff0 commit 8086b98

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
@@ -23991,7 +23991,7 @@ function createFiberRoot(
2399123991
return root;
2399223992
}
2399323993

23994-
var ReactVersion = "18.3.0-canary-5945e068a-20230628";
23994+
var ReactVersion = "18.3.0-canary-2153a2966-20230628";
2399523995

2399623996
// Might add PROFILE later.
2399723997

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
@@ -8646,7 +8646,7 @@ var devToolsConfig$jscomp$inline_1036 = {
86468646
throw Error("TestRenderer does not support findFiberByHostInstance()");
86478647
},
86488648
bundleType: 0,
8649-
version: "18.3.0-canary-5945e068a-20230628",
8649+
version: "18.3.0-canary-2153a2966-20230628",
86508650
rendererPackageName: "react-test-renderer"
86518651
};
86528652
var internals$jscomp$inline_1238 = {
@@ -8677,7 +8677,7 @@ var internals$jscomp$inline_1238 = {
86778677
scheduleRoot: null,
86788678
setRefreshHandler: null,
86798679
getCurrentFiber: null,
8680-
reconcilerVersion: "18.3.0-canary-5945e068a-20230628"
8680+
reconcilerVersion: "18.3.0-canary-2153a2966-20230628"
86818681
};
86828682
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
86838683
var hook$jscomp$inline_1239 = __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
@@ -9072,7 +9072,7 @@ var devToolsConfig$jscomp$inline_1078 = {
90729072
throw Error("TestRenderer does not support findFiberByHostInstance()");
90739073
},
90749074
bundleType: 0,
9075-
version: "18.3.0-canary-5945e068a-20230628",
9075+
version: "18.3.0-canary-2153a2966-20230628",
90769076
rendererPackageName: "react-test-renderer"
90779077
};
90789078
var internals$jscomp$inline_1279 = {
@@ -9103,7 +9103,7 @@ var internals$jscomp$inline_1279 = {
91039103
scheduleRoot: null,
91049104
setRefreshHandler: null,
91059105
getCurrentFiber: null,
9106-
reconcilerVersion: "18.3.0-canary-5945e068a-20230628"
9106+
reconcilerVersion: "18.3.0-canary-2153a2966-20230628"
91079107
};
91089108
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
91099109
var hook$jscomp$inline_1280 = __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-5945e068a-20230628";
30+
var ReactVersion = "18.3.0-canary-2153a2966-20230628";
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
@@ -623,4 +623,4 @@ exports.useSyncExternalStore = function (
623623
);
624624
};
625625
exports.useTransition = useTransition;
626-
exports.version = "18.3.0-canary-5945e068a-20230628";
626+
exports.version = "18.3.0-canary-2153a2966-20230628";

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
@@ -626,7 +626,7 @@ exports.useSyncExternalStore = function (
626626
);
627627
};
628628
exports.useTransition = useTransition;
629-
exports.version = "18.3.0-canary-5945e068a-20230628";
629+
exports.version = "18.3.0-canary-2153a2966-20230628";
630630

631631
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
632632
if (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5945e068abf1da4aec24aba2839abfbb0fe94a3d
1+
2153a29661e5998604225f81d93c8a20a1934adf

0 commit comments

Comments
 (0)