[DevTools] Enable inspected element context menu in Fusebox (#28972)
## Summary Enables the inspected element context menu in React Native DevTools (Fusebox). ## How did you test this change? 1. `yarn build` in `react-devtools-fusebox` 2. Copy artifacts to rn-chrome-devtools-frontend 3. Manually test the context menu https://github.com/facebook/react/assets/2246565/b35cc20f-8d67-43b0-b863-7731e10fffac NOTE: The serialised values sometimes expose React internals (e.g. Hook data structures instead of just the values), but that seems to be a problem equally on web, so I'm going for native<->web parity here.
Moti Zilberman committed
May 3, 2024 at 17:33 UTC
e3fbb51db603d6669359c9ff16f5288cf0640c14
1 file changed
+1
packages/react-devtools-fusebox/src/frontend.js
+1
@@ -62,6 +62,7 @@ export function initialize(
62
store={store}
63
showTabBar={true}
64
warnIfLegacyBackendDetected={true}
65
+ enabledInspectedElementContextMenu={true}
66
/>,
67
);
68
}