Lesson 1.1

Profiling with React DevTools

The profiler records what rendered, how long it took, and why it happened. Reading a flame graph correctly is most of the diagnostic work.

Duration
13m
Level
Advanced
Students
7.4k students

Overview

The profiler records what rendered, how long it took, and why it happened. Reading a flame graph correctly is most of the diagnostic work.

In this lesson you will:

  • Record a realistic interaction, not an idle page
  • Read the flame graph and the ranked chart
  • Turn on "why did this render" to get the cause

Resources

React documentation

The official reference for the tools used in this lesson.