Skip to content

Commit 437c15e

Browse files
committed
Devtools:-Removed unused CSS (#27032)
I tried to check out for the CSS bundle using the [eslint-plugin-css-modules](https://www.npmjs.com/package/eslint-plugin-css-modules), and ran it locally , seems like There are lot of unused styles and classes present . I have attached the output below after running the lint command. https://gist.github.com/Biki-das/647ceb7383b43cca9c8619e1dc33fe0d All the shared.css files should not be touched i feel as they are being used randomly by some file Thoughts @hoxyq DiffTrain build for commit 53ac219.
1 parent 0a50547 commit 437c15e

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-5c8dabf88-20230701";
23985+
var ReactVersion = "18.3.0-canary-53ac21937-20230703";
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-5c8dabf88-20230701",
8633+
version: "18.3.0-canary-53ac21937-20230703",
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-5c8dabf88-20230701"
8664+
reconcilerVersion: "18.3.0-canary-53ac21937-20230703"
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-5c8dabf88-20230701",
9059+
version: "18.3.0-canary-53ac21937-20230703",
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-5c8dabf88-20230701"
9090+
reconcilerVersion: "18.3.0-canary-53ac21937-20230703"
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-5c8dabf88-20230701";
30+
var ReactVersion = "18.3.0-canary-53ac21937-20230703";
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-5c8dabf88-20230701";
626+
exports.version = "18.3.0-canary-53ac21937-20230703";

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-5c8dabf88-20230701";
629+
exports.version = "18.3.0-canary-53ac21937-20230703";
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-
5c8dabf8864e1d826c831d6096b2dfa66309961a
1+
53ac21937864c1c7fc3d9077bc2d80b3e11193e3

0 commit comments

Comments
 (0)