Dynamic routes at the folder level #922
-
Beta Was this translation helpful? Give feedback.
Answered by
priyanshuone6
Feb 24, 2024
Replies: 1 comment
-
Closing this since I found the solution. Funny enough, the image I uploaded itself solves the dynamic routes at the folder level. The '[username]' folder syntax catches parameters in the URL, and index.tsx shows that by using search parameters. Even though dynamic routes at the folder level are not mentioned in the docs, they still work. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
priyanshuone6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Closing this since I found the solution. Funny enough, the image I uploaded itself solves the dynamic routes at the folder level. The '[username]' folder syntax catches parameters in the URL, and index.tsx shows that by using search parameters. Even though dynamic routes at the folder level are not mentioned in the docs, they still work.