What is React Doctor?

React Doctor is a deterministic scanner for React security risks and performance regressions. It also catches state, effect, architecture, and accessibility issues that coding agents and lint rules miss.

Run React Doctor from a project root:

npx react-doctor@latest

To check every pull request, run the installer and choose Yes when it asks to add GitHub Actions:

npx react-doctor@latest install

Works with React, Next.js, Vite, TanStack, React Native, and Expo.

What you can do

How it fits with linting

React Doctor complements your existing lint setup. Start with npx react-doctor@latest, then run the same scanner in CI or through the standalone oxlint and ESLint plugins. The CLI respects your ignore files and reads JSON ESLint or oxlint rules when present.