Measuring Performance in React Apps

In this lesson we will see how we can use Profiler to measure the performance of a React app.

Web performance is a big deal. Nobody has the time to sit through hours waiting for your webpage to load.

Need of the Profiler

In order to measure performance and identify performance bottlenecks in your apps, it’s crucial to have some way to inspect how long it took your app’s components to render, and why they were rendered.

This is exactly why the Profiler exists.

If you’ve been writing react for some time, you might remember the react-addons-perf module.

Well, that has been deprecated in favor of the Profiler.

Get hands-on with 1000+ tech skills courses.