Live Component Inspection
Key point
react-reinspect is a debugging tool that lets you edit components and props directly in a running React app.
Details
react-reinspect visually shows component boundaries on top of a running React app and lets you right-click to instantly change style props and props.
- Displays component boundaries in the UI
- Supports props override on the running screen
- Live-edit styles without touching the source
- Track rerender during interactions
Installation involves adding the react-reinspect package and wrapping the app with ReinspectProvider, and it provides an auto-discovery plugin for Vite and a plugin for Next.js (webpack mode).
It is disabled by default for production-safe behavior, and it's recommended to enable it only in development using import.meta.env.DEV for Vite and process.env.NODE_ENV !== 'production' for Next.js.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.