简体   繁体   English

React 开发工具空白组件

[英]React dev tools blank component

Hello does anybody knows what's wrong with my react dev tools?你好,有人知道我的反应开发工具有什么问题吗? the components tab is blank组件选项卡为空白看照片

This seems to be a problem that others have encountered recently.这似乎是其他人最近遇到的问题。 There is a fix at: https://github.com/facebook/react/issues/16840有一个修复: https://github.com/facebook/react/issues/16840

to whoever is running for this same reason.对于出于同样原因而跑步的人。

I recently ran into this issue, what worked for me was to reinstall google chrome(the browser where I am using dev tools), then it worked as usual.我最近遇到了这个问题,对我有用的是重新安装谷歌浏览器(我使用开发工具的浏览器),然后它照常工作。

Do a ctrl+shift+p and then Reload DevTools .执行ctrl+shift+p然后Reload DevTools Unless there is an error in your app, this should help.除非您的应用程序出现错误,否则这应该会有所帮助。 Or use the suggested shortcut alt+r或者使用建议的快捷键alt+r

Adding to the solution from @divakar从@divaka 添加到解决方案

Windows: Windows:

Open the DevTools and do a ctrl+shift+p and then Reload DevTools .打开 DevTools 并执行ctrl+shift+p然后Reload DevTools Unless there is an error in your app, this should help.除非您的应用程序出现错误,否则这应该会有所帮助。 Or use the suggested shortcut alt+r或者使用建议的快捷键 alt+r

MacOs users: macOS 用户:

Option + Command + J , followed by Command + Shift + P . Option + Command + J ,然后是Command + Shift + P Then Reload DevTools然后Reload DevTools

重新加载开发工具

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

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