File-Based vs. Directory-Based Routing: Understanding the Difference
I don't know who did it, and why everyone is suddenly confused by this. What you are calling file-based routing is not what you claim. I will gladly explain.
I am going to use Next.js as an example:
File Based
This is file-based routing:
src/
└── p...
dantedecodes.hashnode.dev2 min read