Chapter 25. Component Speed
In the last chapter, you looked at how loading data affects your app’s performance. In this final chapter, you will look at another aspect of performance: the speed at which components display on the screen, both when they initially render and when they update. To do this, you will use the React DevTools Profiler tool that you first saw in Chapter 19, Introduction to App Performance Optimization.
Throughout this chapter, the exact render times will vary between your machine and what this book shows. That is OK. Focus on the relative scale between fast and slow, and pay attention to the improvements in the times as you optimize the application.
Inspecting Performance
The React Profiler requires a development or profiling ...
Get React Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.