My favorite thing about file-based routing: The folder structure corresponds...


My favorite thing about file-based routing: The folder structure corresponds to the URL.

This avoids decision fatigue, and makes files easy to find by merely glancing at the URL.
My least favorite thing about file-based routing: Many files have the same name.

So, I have to display file paths in tabs to distinguish them. And when I open files by name (cmd+p in VS Code), I get a bunch of repeated file names. I have to read paths to distinguish files.

View original on X