I'm a newcomer to React, and I was wondering something. If a site has been built using React, will I always be able to see that in the source code from the developer tools? I installed the ReactJS Super-Powered extension for Chrome, but I don't know how reliable it is.
What should I be looking for if I want to spot React in the code?
Do you know that when you deploy your React application which is created using create-react-app or your own webpack configuration to a live website like Netlify, Vercel, Heroku etc, your entire source code is visible to everyone from the sources tab of the dev tools.
Any code that is running in the browser - is visible to the user if they want to see it. That's the nature of javascript. As such, you shouldn't store any sensitive data in frontend code.
React is one of Facebook's first open source projects that is both under very active development and is also being used to ship code to everybody on facebook.com.
There is:
React devtools has many features.
Show me the react extension is useful.
And react uses specific keys to keep track of the dom and keep it quick which could possibly be recognized in the dom.
Delete all the .map files /js and /css folder from your generated build.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With