Enable Profiler
Summary: Show tab bar in React DevTools to allow switching to Profiler Reviewed By: nikoant Differential Revision: D35747309 fbshipit-source-id: ca7e65fdd30261aabc5f05fe10b451c115a92b7f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
82c59515b1
commit
bd7a20d851
@@ -231,7 +231,13 @@ export function devicePlugin(client: DevicePluginClient<Events, Methods>) {
|
||||
});
|
||||
|
||||
root = createRoot(devToolsNode);
|
||||
root.render(React.createElement(DevTools));
|
||||
root.render(
|
||||
React.createElement(DevTools, {
|
||||
showTabBar: true,
|
||||
hideViewSourceAction: true,
|
||||
hideLogAction: true,
|
||||
}),
|
||||
);
|
||||
|
||||
console.debug('flipper-plugin-react-devtools -> connected');
|
||||
setStatus(ConnectionStatus.Connected, 'Connected');
|
||||
|
||||
Reference in New Issue
Block a user