简体   繁体   中英

React Native tool to track re-renders visually?

I have complex views with lots of components. I would like to optimise performance, I suspect that some parts of the application are being re-rendered for no reason, but I cannot see visually which ones are the problem. Is there a tool that will show me visually which parts of the screen re-rendered on state change as I'm using the app?

I found it finally, https://github.com/redsunsoft/react-render-visualizer . Also there is another tool, https://github.com/garbles/why-did-you-update , but it just logs to the console the components that rerendered and they shouldn't have. But still, a useful tool.

Updated links for year 2020:

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