如何监控React的性能问题

116 阅读1分钟

React最常见的性能问题是: 不必要的组件re-rendering

如何监控这个问题?

1 使用react-devtools 2 使用浏览器上的performance monitor