Skip to content

Commit a600d56

Browse files
committed
refactor[react-devtools-extensions]: use globals to eliminate dead code (#27516)
Small change to eliminate dead code in builds for different browsers. Tested by inspecting production sources. DiffTrain build for commit 18a9dd1.
1 parent e94c09b commit a600d56

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
@@ -24801,7 +24801,7 @@ function createFiberRoot(
2480124801
return root;
2480224802
}
2480324803

24804-
var ReactVersion = "18.3.0-canary-309c8ad96-20231015";
24804+
var ReactVersion = "18.3.0-canary-18a9dd1c6-20231016";
2480524805

2480624806
// Might add PROFILE later.
2480724807

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
@@ -8968,7 +8968,7 @@ var devToolsConfig$jscomp$inline_1020 = {
89688968
throw Error("TestRenderer does not support findFiberByHostInstance()");
89698969
},
89708970
bundleType: 0,
8971-
version: "18.3.0-canary-309c8ad96-20231015",
8971+
version: "18.3.0-canary-18a9dd1c6-20231016",
89728972
rendererPackageName: "react-test-renderer"
89738973
};
89748974
var internals$jscomp$inline_1213 = {
@@ -8999,7 +8999,7 @@ var internals$jscomp$inline_1213 = {
89998999
scheduleRoot: null,
90009000
setRefreshHandler: null,
90019001
getCurrentFiber: null,
9002-
reconcilerVersion: "18.3.0-canary-309c8ad96-20231015"
9002+
reconcilerVersion: "18.3.0-canary-18a9dd1c6-20231016"
90039003
};
90049004
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
90059005
var hook$jscomp$inline_1214 = __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
@@ -9394,7 +9394,7 @@ var devToolsConfig$jscomp$inline_1062 = {
93949394
throw Error("TestRenderer does not support findFiberByHostInstance()");
93959395
},
93969396
bundleType: 0,
9397-
version: "18.3.0-canary-309c8ad96-20231015",
9397+
version: "18.3.0-canary-18a9dd1c6-20231016",
93989398
rendererPackageName: "react-test-renderer"
93999399
};
94009400
var internals$jscomp$inline_1254 = {
@@ -9425,7 +9425,7 @@ var internals$jscomp$inline_1254 = {
94259425
scheduleRoot: null,
94269426
setRefreshHandler: null,
94279427
getCurrentFiber: null,
9428-
reconcilerVersion: "18.3.0-canary-309c8ad96-20231015"
9428+
reconcilerVersion: "18.3.0-canary-18a9dd1c6-20231016"
94299429
};
94309430
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
94319431
var hook$jscomp$inline_1255 = __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-309c8ad96-20231015";
30+
var ReactVersion = "18.3.0-canary-18a9dd1c6-20231016";
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
@@ -580,4 +580,4 @@ exports.useSyncExternalStore = function (
580580
exports.useTransition = function () {
581581
return ReactCurrentDispatcher.current.useTransition();
582582
};
583-
exports.version = "18.3.0-canary-309c8ad96-20231015";
583+
exports.version = "18.3.0-canary-18a9dd1c6-20231016";

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
@@ -583,7 +583,7 @@ exports.useSyncExternalStore = function (
583583
exports.useTransition = function () {
584584
return ReactCurrentDispatcher.current.useTransition();
585585
};
586-
exports.version = "18.3.0-canary-309c8ad96-20231015";
586+
exports.version = "18.3.0-canary-18a9dd1c6-20231016";
587587

588588
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
589589
if (
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
309c8ad9688c491e5b17beb07ab01d65594914ce
1+
18a9dd1c60fdb711982f32ce5d91acfe8f158fe1

0 commit comments

Comments
 (0)