That pain led me to build React Code Splitter an open-source CLI that takes those monster files and helps you break them down into smaller, meaningful components. It uses ASTs under the hood, detects props automatically, and has an interactive mode so you can actually name things properly:
? Extract this component? Yes ? Component name: PaymentSummary
If you’ve ever opened a huge React file and thought “no human should have to read this”, this tool might help.