Skip to content

Conversation

@hoxyq
Copy link

@hoxyq hoxyq commented Mar 4, 2024

Summary

Adding enableReactDevToolsPanel experiment, which will be used for gating React DevTools panel. Later, this experiment will be enabled based on a query parameter provided by the entity, which launches the Chrome.

Test plan

This doesn't introduce any functional changes at the moment, only checking if this experiment appears in the list of experiments, so it can be toggled for manual testing of RDT panel.
Screenshot 2024-03-04 at 13 46 32

Upstreaming plan

  • This commit should be sent as a patch to the upstream devtools-frontend repo. I've reviewed the contribution guide.
  • This commit is React Native-specific and cannot be upstreamed.

@hoxyq hoxyq merged commit 2018507 into facebook:main Mar 5, 2024
@hoxyq hoxyq deleted the define-react-devtools-experiment branch March 5, 2024 11:44
import '../../panels/network/network-meta.js';
import '../../panels/js_profiler/js_profiler-meta.js';
import '../../panels/rn_welcome/rn_welcome-meta.js';
import '../../panels/react_devtools/react_devtools-meta.js';
Copy link

@EdmondChuiHW EdmondChuiHW Mar 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this file isn't ready yet and the import statement wasn't intended for this PR. It's crashing the RN Inspector landing page so it's remove the line until the file is ready (or add an empty stub file for now)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, you are right, somehow slipped in this PR, will fix that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants