react
react copied to clipboard
[DevTools Bug]: Getting Component Tree from my code
Website or app
https://github.com/facebook/react/issues/22540
Repro steps
Greetings,
I am trying to get the component tree ( that react dev-tools show in the extension ) in my own code, and I want to send it to backend API server using an HTTP POST request.
Any idea on how I can achieve this?
I looked at using __REACT_DEVTOOLS_GLOBAL_HOOK__
but no luck yet.
Thank you
How often does this bug happen?
Every time
DevTools package (automated)
No response
DevTools version (automated)
No response
Error message (automated)
No response
Error call stack (automated)
No response
Error component stack (automated)
No response
GitHub query string (automated)
No response