9

I found this link for determining that a webpage is using angular

Tried doing the same thing for React, but there is no object displayed in console.

Any idea on how it works?

Thanks in advance

1 Answer 1

9

According to the react-devtools FAQ:

When the page loads, the devtools sets a global named __REACT_DEVTOOLS_GLOBAL_HOOK__, then React communicates with that hook during initialization.

It appears others have found this as well, and someone asked how to prevent your production React app from working with React Devtools: https://stackoverflow.com/a/39152804/368697

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.