admin管理员组文章数量:1417664
I need to debug some props that are being used in my React application. However, if I try to inspect certain ponents, they appear as "Loading..." instead of the normal props list:
However, I know that these ponents have already rendered as I can see them in the DOM. Also, it stays like this perpetually, so it obviously isn't actually loading anything.
I'm using React DevTools 4.2.1-3816ae7c3
and React 16.12.0
I need to debug some props that are being used in my React application. However, if I try to inspect certain ponents, they appear as "Loading..." instead of the normal props list:
However, I know that these ponents have already rendered as I can see them in the DOM. Also, it stays like this perpetually, so it obviously isn't actually loading anything.
I'm using React DevTools 4.2.1-3816ae7c3
and React 16.12.0
- This is a bug in the new react dev tools. Just reload developer options. You should be able to see the data. – Easwar Commented Dec 2, 2019 at 7:23
- If by "reload", you mean close and re-open them, it doesn't help for me. – Migwell Commented Dec 2, 2019 at 7:28
- 1 Is it always loading everytime ? For me its random (say 1/4 times). In that case I switch to a different ponent or switch to a different DOM element and reload dev tools. Usually it does the fix. If not, try refreshing the browser. – Easwar Commented Dec 2, 2019 at 8:29
- 2 have the same problem. Have you found anything as solution? – diesel94 Commented Jan 26, 2021 at 10:40
1 Answer
Reset to default 4I was having the same issue with Ubuntu and after reinstalling the extension. Close the chrome app and reopen it, then it solved it for me.
本文标签: javascriptReact DevTools show components as quotLoadingquotStack Overflow
版权声明:本文标题:javascript - React DevTools show components as "Loading..." - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745280158a2651384.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论