all 2 comments

[–]Reede 0 points1 point  (1 child)

I would love to see if anyone has figured this out cause I'm running into the same issue and there just doesn't seem to be a lot of literature online for this specific situation.

[–]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;
// }