React DevTools is a browser extension (Chrome/Firefox) that allows inspecting the React component tree, their state, props, and performance.
Why it matters: Standard browser DevTools show you the raw DOM. React DevTools shows you the React tree — the component hierarchy, their props, hooks state, and context values. This is essential for debugging because React components can render to entirely different DOM structures than their component hierarchy suggests.
Features:
How to use the Components tab:
How to use the Profiler tab:
Useful features:
Common debugging workflow:
React.memo, useMemo, or useCallback as needed.