Daily Archives: 01.02.2018

React. Benchmarking and optimizing performance

There is a tool called react-addons-perf that should be imported into your project. import Perf from ‘react-addons-perf’; window.Perf = Perf; After that you can use Perf object in your console. It can tell you about your react performance issues, not including redux. For instance, you can check unnecessary renders or unnecessary change calculations: Perf.start(); // …

Read more