Skip to content

Commit 0b46107

Browse files
committed
Add back temporary experimental_ aliases for Server Actions APIs (#27461)
This adds back the `experimental_`-prefixed Server Actions APIs to the experimental builds only, so that apps that use those don't immediately break when upgrading. The APIs will log a warning to encourage people to move to the unprefixed version, or to switch to the canary release channel. We can remove these in a few weeks after we've given people a chance to upgrade. This does not affect the canary builds at all, since they never had the prefixed versions to begin with. DiffTrain build for commit ca237d6.
1 parent 9c66368 commit 0b46107

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
@@ -24772,7 +24772,7 @@ function createFiberRoot(
2477224772
return root;
2477324773
}
2477424774

24775-
var ReactVersion = "18.3.0-canary-44d40a077-20231004";
24775+
var ReactVersion = "18.3.0-canary-ca237d6f0-20231004";
2477624776

2477724777
// Might add PROFILE later.
2477824778

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
@@ -8978,7 +8978,7 @@ var devToolsConfig$jscomp$inline_998 = {
89788978
throw Error("TestRenderer does not support findFiberByHostInstance()");
89798979
},
89808980
bundleType: 0,
8981-
version: "18.3.0-canary-44d40a077-20231004",
8981+
version: "18.3.0-canary-ca237d6f0-20231004",
89828982
rendererPackageName: "react-test-renderer"
89838983
};
89848984
var internals$jscomp$inline_1191 = {
@@ -9009,7 +9009,7 @@ var internals$jscomp$inline_1191 = {
90099009
scheduleRoot: null,
90109010
setRefreshHandler: null,
90119011
getCurrentFiber: null,
9012-
reconcilerVersion: "18.3.0-canary-44d40a077-20231004"
9012+
reconcilerVersion: "18.3.0-canary-ca237d6f0-20231004"
90139013
};
90149014
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
90159015
var hook$jscomp$inline_1192 = __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
@@ -9404,7 +9404,7 @@ var devToolsConfig$jscomp$inline_1040 = {
94049404
throw Error("TestRenderer does not support findFiberByHostInstance()");
94059405
},
94069406
bundleType: 0,
9407-
version: "18.3.0-canary-44d40a077-20231004",
9407+
version: "18.3.0-canary-ca237d6f0-20231004",
94089408
rendererPackageName: "react-test-renderer"
94099409
};
94109410
var internals$jscomp$inline_1232 = {
@@ -9435,7 +9435,7 @@ var internals$jscomp$inline_1232 = {
94359435
scheduleRoot: null,
94369436
setRefreshHandler: null,
94379437
getCurrentFiber: null,
9438-
reconcilerVersion: "18.3.0-canary-44d40a077-20231004"
9438+
reconcilerVersion: "18.3.0-canary-ca237d6f0-20231004"
94399439
};
94409440
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
94419441
var hook$jscomp$inline_1233 = __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-44d40a077-20231004";
30+
var ReactVersion = "18.3.0-canary-ca237d6f0-20231004";
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-44d40a077-20231004";
619+
exports.version = "18.3.0-canary-ca237d6f0-20231004";

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-44d40a077-20231004";
622+
exports.version = "18.3.0-canary-ca237d6f0-20231004";
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-
44d40a077ae91bbf5e18a95b90d8a15c2ec978ca
1+
ca237d6f0ab986e799f192224d3066f76d66b73b

0 commit comments

Comments
 (0)