简体   繁体   中英

Visualize the Virtual DOM in React?

Is there any way to visualize the Virtual DOM and/or Reconciliation phase in React, to be able to compare the previous snapshot with the newly rendered one? This would be extremely helpful for debugging cases where React causes unexpected unmounting of Components, etc.

State management is tricky and can become an extremely painfull if not handled perfectly. So there're lots of tools to visualise the needed part but here is a couple of example what you're looking for

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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