Whenever you are building any project or product for your startup using React, obviously you don't want to make your source code visible to customers or clients.
I have been working on React for quite some time now and I have seen many times that the source code is clearly visible in the Developers Tools, This is a common mistake which I have seen very frequently.
So If you are building your project using React & using the
create-react-app boilerplate to get started. You need to do one thing to hide your source code from the developer's section, just update this in your
"build": "GENERATE_SOURCEMAP=false react-scripts build"
Voilà, Now your source code is hidden*