Skip to content

Commit e3fbb51

Browse files
authored
[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.
1 parent 8f7dd55 commit e3fbb51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-devtools-fusebox/src/frontend.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export function initialize(
6262
store={store}
6363
showTabBar={true}
6464
warnIfLegacyBackendDetected={true}
65+
enabledInspectedElementContextMenu={true}
6566
/>,
6667
);
6768
}

0 commit comments

Comments
 (0)