Measuring Performance in React Apps
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
Well, that has been deprecated in favor of the Profiler.