
React Scan
Aiden Bai / Million Software, Inc. · Coding
React Scan is a free, open-source tool that finds and highlights the React components causing performance issues, no code changes needed.

About React Scan
What Is React Scan
React Scan is a lightweight JavaScript tool that watches a running React app and flags the components re-rendering more than they should. React compares component props by reference rather than by value. So a new object or function on every render slips in easily, and that quiet mistake is why so many React apps feel sluggish even when the code looks fine.
Instead of guessing, React Scan draws a box around each component as it renders and shades it based on how long that render took. The heavier the render, the more visible the flash. You watch the page, and the culprit announces itself.
It works with plain setups. You won't rewrite a single component. You don't need a build step. That dead-simple install is the whole pitch for a tool aimed at developers already deep in a stack of framework config.
Getting Started
- Run
npx -y react-scan@latest initin your project. The command detects your framework, installs the package, and wires up the script for you. - Or install it manually with
npm install -D react-scanand drop the unpkg script tag into yourindex.htmlbefore any other scripts. - Load your app in the browser. Components flash as they render, with the toolbar sitting on the page.
- Click the flashing components to inspect render counts and timings, then change the code that's recalculating props on every pass.
- Turn it off in production. It's built to run in development, and forcing it on in a live build is something the docs warn against.
Product Information
A quick look at React Scan's pricing, supported platforms, and performance.
Best for
The users, tasks, and scenarios where this tool fits best.
Users
- React developers tuning a slow interface
- Frontend teams without a dedicated performance specialist
Tasks
- Finding wasted re-renders
- Debugging why a page stutters on interaction
- Auditing a component library
- Spotting slow renders early
Scenarios
- A dashboard that slows to a crawl as charts fill in
- A form that lags on every keystroke
- A new teammate joining a large React codebase
Key features
No Code Changes Required
You add React Scan without touching your components. Drop in one script tag or run the init command. It attaches itself to the app. There's no wrapper component, no higher-order function, and nothing to clean up later if you decide to remove it.
Visual Render Highlighting
The tool outlines each component as it renders and colors the outline by render time. Slow renders stand out immediately. You don't read numbers in a table first; you watch the page and let the visuals point you toward the problem.
Multiple Install Paths
You can load React Scan through a script tag from unpkg, install it as an npm package, or use the browser extension. Framework-specific guides cover Next.js, Remix, and plain setups. You're not left translating docs written for a different stack.
Toolbar and Live Options
A toolbar sits on the page while scanning, and you can toggle scanning on or off without restarting. The scan and useScan functions start it, setOptions and getOptions adjust it at runtime, and onRender hooks into one component when you need a closer look.
Console Logging and Timing Hooks
Turn on the log option and every render prints to the console with its timing. Commit hooks (onCommitStart and onCommitFinish) fire around each render pass, which helps when you want to correlate React's work with what you're seeing on screen.
Open-Source and Free
React Scan ships under the MIT license by Aiden Bai and Million Software, Inc. There's no paid tier, no seat limit, and no signup. The source sits on GitHub. The project takes contributions and bug reports in the open.
Pros and cons
Pros
- Zero setup friction: the init command handles framework detection and installation for you.
- Visual feedback makes wasted renders obvious to anyone, not just performance specialists.
- Free and MIT-licensed, so it drops into commercial projects without a budget conversation.
- Works across plain React, Next.js, Remix, and browser-extension use.
- The runtime API and onRender hook let you dig deeper when the overlay isn't enough.
Cons
- It runs in development only, so it won't catch performance problems that appear solely on a production build.
- The visual overlay only shows on screen, meaning you can't scan a headless environment or a server-rendered page before it reaches the browser.
- If you're not comfortable with npm or a script tag, the install still needs a small step in the project, and the docs assume some React familiarity.
Frequently asked questions
Yes. React Scan is open-source software released under the MIT license, and there's no paid plan or account. You install the package and use it in your project at no cost.
Related content
Explore related tools, skills, and articles for React Scan.
React Scan Alternatives
Base Code
Base44 (Wix) · Coding · ProductivityBase Code is a shared cloud development environment from Base44. Teammates describe changes to an existing GitHub codebase in chat, preview them live and send them back as pull requests.
Google EmbeddingGemma 2
Google DeepMind · Writing · Image · CodingGoogle EmbeddingGemma 2 is a 740M-parameter open model that turns text, code, images, audio, and video frames into vectors in one 768-dimension space, running on phones and laptops.
GitGlow
GitGlow · Coding · ProductivityGitGlow is a local-first desktop Git client that lets independent developers review their own code and their AI agents' changes in one place before shipping.
