Working with NextJS is fascinating because I guess they were like, hey why don’t we name every single file “page.tsx" — that definitely won’t get annoying super quick.
Comments
Log in with your Bluesky account to leave a comment
I'm torn on it as well. I preferred the Pages router, and after having built a few products using it but I can see the rationale; it scales a lot better for apps once they're at the size of something in production that someone else wrote and we might find ourselves having to maintain.
Naming standards and file layout generally in React codebases is kind crazy. I sometimes wonder what kind of code editor the person who decided "one function one file" had. Files, files everywhere (I know it's related to code splitting)
Comments
Oh no Python why