I just shipped something new for React devs: React Pattern Analyzer 🚀 It’s a CLI tool that scans your React project and generates an HTML report with: - Per‑file metrics (LOC, prop count) - Detected issues (large “god” components, prop drilling, hook overuse) - Recommended design patterns (Container/Presentational, Context, etc.) Why I built it: On real projects it’s easy to accumulate big components and messy props. Reviews often say “split this component” or “use context here” but there’s no quick way to see all these problems across the codebase. I wanted a lightweight static analysis tool that speaks the language of React patterns, not just lint rules. How it works: Install as a dev dependency. Run one command against your project. Get a static react-pattern-report/index.html you can open and share with your team. I’m still iterating, but it already helps me quickly understand where a React codebase needs refactoring and which patterns to apply. If you’re interested in: - Refactoring legacy React apps, - Improving consistency in component design, - adding a “design pattern check” step to your pipeline I’d love your feedback and ideas for new rules. https://lnkd.in/dgJJ6_PY #react #reactjs #javascript #typescript #webdevelopment #frontend #frontenddevelopment #codequality #staticanalysis #designpatterns #cleancode #devtools #opensource #nmpackage
Brilliant 💡
Good job 👏