简体   繁体   English

如何在chrome react开发人员工具中隐藏密码?

[英]How to hide password in chrome react developer tool?

React react developer tool inspector React React开发人员工具检查器

How to hide/prevent password value to appear in inspector as a state in reactjs when handling form submit in case of using chrome react developer tool? 在使用chrome react开发人员工具处理表单提交时,如何隐藏/防止密码值在reactjs中作为状态显示在检查器中?

There is no way to hide any information that is saved in a variable or in the state of your app from being displayed in react-dev-tools. 无法隐藏在变量或应用程序状态中保存的任何信息,以免它们显示在react-dev-tools中。

Thats exactly why the react-dev-tools extension for chrome is so useful. 这就是为什么chrome的react-dev-tools扩展是如此有用的原因。 You can see what values you have and how they might/might not change. 您可以查看所拥有的值以及它们可能/可能不会改变的方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM