0
Challenge · 84Tooling & Quality
React DevTools
Toolused in ~85% of apps
console.log tells you a value; it can't tell you which component owns it, what props it received, or why it just re-rendered for the fourth time. React DevTools turns the running component tree into something you can inspect and profile — it's how you actually debug React instead of guessing.
Core idea. React DevTools is a browser extension that adds two tabs — Components (inspect any component's live props, state, and hooks, and edit them on the fly) and Profiler (record an interaction to see which components re-rendered and, crucially, why).
poke it, drag it,
try to break it
try to break it
no slides here.
you drive.
you drive.
Playground, this isn't a screenshot
React DevTools
component tree
Click any node to inspect it — exactly like selecting a component in the Components tab.
<PostCard />inspector
props
post:{ id: 1, ... }
onLike:function
state
liked:false
hooks
1. useState (liked)
↑ play a little first, then dig in