DEV Community

Discussion on: Your React Codes Might Not Be In Safe!

Collapse
 
tayfunerbilen profile image
Tayfun Erbilen

yes I know, but seeing like this and what you told is different, this is not cool for me, I don't want anyone sees my project code like this, I mean everyone can take my js files and beautfy them but non of them will not see clear like this.

Collapse
 
_hs_ profile image
HS

What you're trying to achieve is security by obscurity and it's not even security. It's more of a source code protection which doesn't help since people trying to clone your page will succeed anyways. So you're just trying to make it hard to beacuse it's not protected. Now what's the point? People copy ideas not the code and that's the main issue. There's a lot of corporate espionage and they look what's done and how in terms od processes not the code. So what did you really achive? Preventing a teenager from copy-pasting your website? Comments here are explaining guidelines for dev.to basically your title is a click-bait. Not evil one just simply title doesn't represent what content describes. This is why your post is marked as low-quality. It shows how to hide source maps which has nothing to do with security word used in IT context.

Thread Thread
 
tayfunerbilen profile image
Tayfun Erbilen • Edited

relax mate, I'm not a killer :) maybe I wrote wrong title because of my english.

this is important for me, if it is not for you, it's okay. But some people forgetting private infos in comments. Because they tought it will deleted when they get build but not in source maps. So this might be bad at least, but anyways :)

Thread Thread
 
_hs_ profile image
HS

Just saying why your posts might get low quality flag and thus be less visible.

Thread Thread
 
tayfunerbilen profile image
Tayfun Erbilen • Edited

thanks for warning :) I'll be more careful next time