Code based routing #1746
SoulEvans07
started this conversation in
Other
Replies: 1 comment 2 replies
-
Can you elaborate on that? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
One of the main reasons I'm trying to move away from NextJS is the last 1.5 year struggle with file based routing which cannot adequately support highly dynamic routing solutions other than chucking a catchAll at the root and doing the routing by hand.
At that point the under documented magic done by a framework to support file based routing only gets in the way while a code based approach is much more predictable and understandable because you can actually read the code instead of the need to read the whole framework code to figure out what else can impact routing.
I know my use-case might not be the biggest priority for a framework maker, but having a first party option to change the framework into code based routing would make it a lot more useful and versatile while adhering to the first value stated on the framework's site: Control.
Beta Was this translation helpful? Give feedback.
All reactions