React Doctor
CLI from the Million.co team that examines your React codebase in one command and returns a health score out of 100: useless re-renders, giant components, dead code, hardcoded secrets. Built for the generated-code era: your agent writes React that works but is poorly optimized, React Doctor spots it before it becomes your debt. One command, one score, concrete fix leads, and a GitHub Action to block PRs that degrade the score.
Strengths
- One command, zero config: the diagnosis lands in seconds on an existing project
- Catches the typical problems of generated React code: re-renders, obese components, dead code
- GitHub Action included: the score becomes a PR guardrail, not just a one-off audit
Limitations
- Detects but does not fix: the report is the start of the work, not the end
- React only: your backend and the rest of your stack are not covered
Best for
- A vibecoder who wants to know whether their agent-generated React will hold past the demo
- A product team wanting an automatic perf guardrail on PRs without writing rules