Skip to content

Conversation

@hoxyq
Copy link

@hoxyq hoxyq commented Mar 12, 2024

Summary

This PR adds ReactDevToolsModel, which will provide an interface to ReactDevToolsView for subscribing to / sending RDT-related messages. ReactDevToolsModel is using ReactDevToolsBindingsModel for it, which was added in #15, specifying a separate react-devtools domain/namespace.

Test plan

Once the React DevTools panel is opened, the global binding is automatically created:
Screenshot 2024-04-11 at 15 02 29

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 force-pushed the react-devtools/add-react-devtools-model branch from c501a99 to fb7003d Compare April 11, 2024 13:40
@hoxyq hoxyq merged commit 61d41e6 into facebook:main Apr 11, 2024
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.

3 participants