using () for grouping might makes more sense rather than an underscore #79
Replies: 3 comments 1 reply
-
I agree About the layouts, I was actually thinking of adding an optional file name, like |
Beta Was this translation helpful? Give feedback.
-
Actually |
Beta Was this translation helpful? Give feedback.
-
This is now available. |
Beta Was this translation helpful? Give feedback.
-
Generally an underscore
_
is used for something that is excluded or ignored so using_
for route grouping might be misleading. Instead pair of parentheses()
is more meaningful.eg:
_my-group
vs(my-group)
Also, changing the layout.tsx to _layout.tsx visually separated the pages and layouts files ( just sharing my thoughts )
Beta Was this translation helpful? Give feedback.
All reactions