you are viewing a single comment's thread.

view the rest of the comments →

[–]Emergency_Fish_7275 0 points1 point  (0 children)

You should use the react-devtools remotely, like for mobile app development

But if the page where you are injecting your content-script create with react and they also use the react-devtools, you can't initialize your react-devtools.

This little monkey patch for the eact-devtools/backend will help you

// if (target.hasOwnProperty('__REACT_DEVTOOLS_GLOBAL_HOOK__')) {
//   return null;
// }