javascript - React DevTools show components as "Loading..." - Stack Overflow

I need to debug some props that are being used in my React application. However, if I try to inspect ce

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

Share Improve this question asked Dec 2, 2019 at 7:16 MigwellMigwell 20.2k24 gold badges106 silver badges180 bronze badges 4
  • 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
Add a ment  | 

1 Answer 1

Reset to default 4

I 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745280159a4620239.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信