react-devtools

ReactJs - Hide state and props

为君一笑 提交于 2019-12-06 15:57:16
I'm currently working on a project and just started out working with ReactJs. (so still a noob) And I'm asking myself: Users who use the React dev tools can see all your props and states. How can I prevent users from seeing e.g. IDs and more 'private' stuff? Thanks in advance This isn't actually a ReactJS question, but a Web Browser / Internet architecture question. Unfortunately the data will always be available in the client to be intercepted, that's because they need the data at their end to be able to interact with the application. You have to rely on your user's browser extensions and

React devtools “highlight updates” in V4

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-29 15:29:53
Did they remove the ability to highlight updates in React Dev Tools V4 ? I can't seem to find it anywhere. I do miss it so. You know, this thing? The honest answer is we didn't quite have the time to implement it, and didn't consider it important enough to block all the other features from releasing. You can read more about if they're going to implement it again here: https://github.com/facebook/react/issues/16437 来源: https://stackoverflow.com/questions/57563530/react-devtools-highlight-updates-in-v4

React devtools “highlight updates” in V4

旧时模样 提交于 2019-11-28 09:01:35
问题 Did they remove the ability to highlight updates in React Dev Tools V4 ? I can't seem to find it anywhere. I do miss it so. You know, this thing? 回答1: The honest answer is we didn't quite have the time to implement it, and didn't consider it important enough to block all the other features from releasing. You can read more about if they're going to implement it again here: https://github.com/facebook/react/issues/16437 回答2: Highlight updates has been released in React Dev Tools V4 https:/