File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,6 @@ Use `--verbose` to see affected files and line numbers:
2323npx -y react-doctor@latest . --verbose
2424```
2525
26- ## What it checks
27-
28- React Doctor runs ** 47+ rules** across these categories:
29-
30- | Category | Examples |
31- | ------------------- | ------------------------------------------------------------------------------- |
32- | ** State & Effects** | Derived state in useEffect, cascading setState, missing cleanup |
33- | ** Architecture** | Nested component definitions, giant components, inline render functions |
34- | ** Performance** | Layout property animations, transition-all, large animated blur |
35- | ** Correctness** | Array index as key, conditional rendering bugs |
36- | ** Next.js** | Missing metadata, client-side fetching for server data, async client components |
37- | ** Bundle Size** | Barrel imports, full lodash import, undeferred third-party scripts |
38- | ** Security** | Hardcoded secrets in client code, eval usage |
39- | ** Server** | Missing auth in server actions, blocking operations without after() |
40- | ** Accessibility** | Missing prefers-reduced-motion checks |
41- | ** Dead Code** | Unused files, exports, types, and duplicate exports |
42-
4326## Example output
4427
4528```
You can’t perform that action at this time.
0 commit comments