Access react devtools `$r` from a chrome extension

Viewed 123

I'm trying to programmatically access the name of the currently inspected component from ReactDevTools (i.e, $r.type.name).

How can I programmatically active ReactDevtools to access this value?

0 Answers
Related