Disable inapplicable commands for React Native targets#251
Merged
huntie merged 1 commit intofacebook:mainfrom Apr 20, 2026
Merged
Disable inapplicable commands for React Native targets#251huntie merged 1 commit intofacebook:mainfrom
huntie merged 1 commit intofacebook:mainfrom
Conversation
2 tasks
016f3a4 to
19dbc9e
Compare
motiz88
approved these changes
Apr 20, 2026
motiz88
left a comment
There was a problem hiding this comment.
Collect garbage
That should be supported, I think and should be trivial to fix on the RN side if something isn't working. Could you look into that? Other than that, LGTM.
Gate additional commands and settings behind the `NOT_REACT_NATIVE_SPECIFIC_UI` experiment, hiding them when REACT_NATIVE_SPECIFIC_UI is enabled. These commands don't apply to React Native debugging targets. Disabled commands: - ALL "Rendering" commands - Performance > "Start instrumenting coverage and reload page" - Performance > "Collect garbage" - Network > "Go offline"/"Go online" - Network > all enable/disable throttling and cache - ALL "Mobile" commands - ALL "Grid" commands - "Undock into separate window" - "Restore last dock position" - Elements > "Show rulers on hover" - Debugger > "Disable JavaScript"
19dbc9e to
b3406d8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Gate additional commands and settings behind the
NOT_REACT_NATIVE_SPECIFIC_UIexperiment, hiding them when REACT_NATIVE_SPECIFIC_UI is enabled. These commands don't apply to React Native debugging targets.Disabled commands:
Test plan
Upstreaming plan
devtools-frontendrepo following the contribution guide for Meta employees OR contribution guide.