react-devtools-plus

Integrates a Vite or Webpack plugin that mirrors React Fiber trees and profiles component renders.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/devtools-skills --skill react-devtools-plus-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: react-devtools-plus
Source: https://github.com/reason-machines/devtools-skills/tree/main/skills/react-devtools-plus
Command: npx skills add https://github.com/reason-machines/devtools-skills --skill react-devtools-plus-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires react-devtools-plus.

What problem does it solve? Debugging React component hierarchies and render performance in development often requires external browser extensions that lack build-tool integration and editor deep-linking. This Skill guides the setup of a build plugin that embeds a visual debugging overlay directly into your dev server. ## Core Features & Use Cases - Fiber Tree Inspection: Visualize the live React component hierarchy, inspect props, state, and hooks, and jump to source code in your editor. - Timeline Profiling: Record render sessions to analyze commit phases, render durations, and component update patterns. - Asset Browser: Inspect project images, fonts, and other assets from within the DevTools UI. - Use Case: A developer on a Vite-based React 18 SPA adds the plugin to vite.config.ts, presses Alt+Shift+D during development, and clicks a slow-rendering component to open it directly in VS Code. ## Quick Start Add the react-devtools-plus plugin to my Vite config so I can inspect my React component tree with the debugging overlay.

Frequently Asked Questions about react-devtools-plus

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add React DevTools Plus to a Vite project?▼

Install the package with pnpm add -D react-devtools-plus, then import reactDevToolsPlus from react-devtools-plus/vite and add it to the plugins array in vite.config.ts after the React plugin. The overlay activates in development mode.

How to profile React component renders with a Vite plugin?▼

Open the DevTools overlay with Alt+Shift+D, switch to the Timeline tab, click Start Recording, interact with your app to trigger renders, then stop recording to review render durations and commit phases.

Does react-devtools-plus work with Webpack?▼

Yes, it provides a Webpack entry point via require('react-devtools-plus/webpack'). Add reactDevToolsPlus() to the plugins array in webpack.config.js with the same options as the Vite version.

Which React versions does this debugging plugin support?▼

It supports React 16.8 and later, including React 17, 18, and 19. Hooks support is required, so components must run on React 16.8+ to appear in the Fiber tree.

Why is the React DevTools overlay not appearing?▼

The overlay only activates in development mode, so confirm NODE_ENV is development and the plugin is registered in your bundler config. Also verify the dev server port and check the browser console for initialization errors.

Does react-devtools-plus affect production builds?▼

No, the plugin is dev-only and automatically excluded from production bundles. If issues occur, you can explicitly guard it by conditionally adding the plugin only when the build mode is development.