Skip to content

Commit e16614f

Browse files
committed
Rename "shared subset" to "server" (#27939)
The internal file ReactSharedSubset is what the `react` module resolves to when imported from a Server Component environment. We gave it this name because, originally, the idea was that Server Components can access a subset of the APIs available on the client. However, since then, we've also added APIs that can _only_ by accessed on the server and not the client. In other words, it's no longer a subset, it's a slightly different overlapping set. So this commit renames ReactSharedSubet to ReactServer and updates all the references. This does not affect the public API, only our internal implementation. DiffTrain build for commit 5d1b15a.
1 parent d2a2a66 commit e16614f

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
@@ -25540,7 +25540,7 @@ if (__DEV__) {
2554025540
return root;
2554125541
}
2554225542

25543-
var ReactVersion = "18.3.0-canary-60a927d04-20240113";
25543+
var ReactVersion = "18.3.0-canary-5d1b15a4f-20240116";
2554425544

2554525545
// Might add PROFILE later.
2554625546

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
@@ -9122,7 +9122,7 @@ var devToolsConfig$jscomp$inline_1037 = {
91229122
throw Error("TestRenderer does not support findFiberByHostInstance()");
91239123
},
91249124
bundleType: 0,
9125-
version: "18.3.0-canary-60a927d04-20240113",
9125+
version: "18.3.0-canary-5d1b15a4f-20240116",
91269126
rendererPackageName: "react-test-renderer"
91279127
};
91289128
var internals$jscomp$inline_1230 = {
@@ -9153,7 +9153,7 @@ var internals$jscomp$inline_1230 = {
91539153
scheduleRoot: null,
91549154
setRefreshHandler: null,
91559155
getCurrentFiber: null,
9156-
reconcilerVersion: "18.3.0-canary-60a927d04-20240113"
9156+
reconcilerVersion: "18.3.0-canary-5d1b15a4f-20240116"
91579157
};
91589158
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
91599159
var hook$jscomp$inline_1231 = __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
@@ -9550,7 +9550,7 @@ var devToolsConfig$jscomp$inline_1079 = {
95509550
throw Error("TestRenderer does not support findFiberByHostInstance()");
95519551
},
95529552
bundleType: 0,
9553-
version: "18.3.0-canary-60a927d04-20240113",
9553+
version: "18.3.0-canary-5d1b15a4f-20240116",
95549554
rendererPackageName: "react-test-renderer"
95559555
};
95569556
var internals$jscomp$inline_1271 = {
@@ -9581,7 +9581,7 @@ var internals$jscomp$inline_1271 = {
95819581
scheduleRoot: null,
95829582
setRefreshHandler: null,
95839583
getCurrentFiber: null,
9584-
reconcilerVersion: "18.3.0-canary-60a927d04-20240113"
9584+
reconcilerVersion: "18.3.0-canary-5d1b15a4f-20240116"
95859585
};
95869586
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
95879587
var hook$jscomp$inline_1272 = __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-60a927d04-20240113";
27+
var ReactVersion = "18.3.0-canary-5d1b15a4f-20240116";
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
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
580580
exports.useTransition = function () {
581581
return ReactCurrentDispatcher.current.useTransition();
582582
};
583-
exports.version = "18.3.0-canary-60a927d04-20240113";
583+
exports.version = "18.3.0-canary-5d1b15a4f-20240116";

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
@@ -576,7 +576,7 @@ exports.useSyncExternalStore = function (
576576
exports.useTransition = function () {
577577
return ReactCurrentDispatcher.current.useTransition();
578578
};
579-
exports.version = "18.3.0-canary-60a927d04-20240113";
579+
exports.version = "18.3.0-canary-5d1b15a4f-20240116";
580580
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
581581
"function" ===
582582
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
60a927d04ad3888facebcdf7da620aa1cfc9528f
1+
5d1b15a4f06fa93e76cd89f37ea5bfd62cc66183

0 commit comments

Comments
 (0)