File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed
packages/react-native/Libraries/Inspector Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -80,16 +80,22 @@ class InspectorPanel extends React.Component<Props> {
80
80
pressed = { this . props . inspecting }
81
81
onClick = { this . props . setInspecting }
82
82
/>
83
- < InspectorPanelButton
84
- title = { 'Perf' }
85
- pressed = { this . props . perfing }
86
- onClick = { this . props . setPerfing }
87
- />
88
- < InspectorPanelButton
89
- title = { 'Network' }
90
- pressed = { this . props . networking }
91
- onClick = { this . props . setNetworking }
92
- />
83
+ { global . RN$Bridgeless === true ? null : (
84
+ // These Inspector Panel sub-features are removed under the New Arch.
85
+ // See https://github.com/react-native-community/discussions-and-proposals/pull/777
86
+ < >
87
+ < InspectorPanelButton
88
+ title = { 'Perf' }
89
+ pressed = { this . props . perfing }
90
+ onClick = { this . props . setPerfing }
91
+ />
92
+ < InspectorPanelButton
93
+ title = { 'Network' }
94
+ pressed = { this . props . networking }
95
+ onClick = { this . props . setNetworking }
96
+ />
97
+ </ >
98
+ ) }
93
99
< InspectorPanelButton
94
100
title = { 'Touchables' }
95
101
pressed = { this . props . touchTargeting }
You can’t perform that action at this time.
0 commit comments