-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: add actual stub view for React DevTools panel #17
refactor: add actual stub view for React DevTools panel #17
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with feedback on naming in previous PR.
2532dfe
to
ef9f710
Compare
if (Root.Runtime.Runtime.isDescriptorEnabled({ | ||
experiment: Root.Runtime.ExperimentName.ENABLE_REACT_DEVTOOLS_PANEL, | ||
condition: null, | ||
})) { | ||
return Module.ReactDevToolsView.ReactDevToolsViewImpl.instance(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @huntie for future references on using experiments declaratively
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hoxyq how about creating a wiki page (GH or internal) with these learnings?
Summary
Stacked on #15. Review only the last commit at the top.
panels/react_devtools_placeholder
->panels/react_devtools
Enable React DevTools
experiment is enabled, the new custom view should be rendered, which is currently empty, but will soon host React DevTools frontend.Test plan
Without feature flag enabled in
Experiments
:With feature flag enabled in
Experiments
:Upstreaming plan
devtools-frontend
repo. I've reviewed the contribution guide.