inspectdev / inspect-issues

Issue tracker for Inspect
22 stars 2 forks source link

Extensions: Add React DevTools to Inspect #52

Open auchenberg opened 3 years ago

auchenberg commented 3 years ago

As a user, I should be able to use React DevTools in Inspect.

https://github.com/facebook/react/tree/master/packages/react-devtools-extensions

yannbf commented 3 years ago

This would be awesome. Hopefully once the architecture is designed, it would allow for easily pluggable extensions, then other extensions could be added as well, such as https://github.com/reduxjs/redux-devtools and https://github.com/vuejs/vue-devtools!

I can totally see an additional tab "inspect marketplace" where people can select extensions to install or uninstall

auchenberg commented 3 years ago

Update: Got a prototype going to host Devtools extensions, but these don't work, as they can't get data from the given page. This is currently blocked on the missing ability for contentScripts in webkit, and the needed APIs to communicate between a content script and devtools extensions. Not sure there's way to implement this.

auchenberg commented 3 years ago

Research notes: Might be possible to use https://github.com/facebook/react/tree/master/packages/react-devtools-inline

auchenberg commented 2 years ago

From user:

React Devtools would be huge, not being able to do react/redux stuff on ipad is crazy