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
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
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