Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 02-patterns.mdx #58032

Merged
merged 9 commits into from
Nov 16, 2023
Merged

Update 02-patterns.mdx #58032

merged 9 commits into from
Nov 16, 2023

Conversation

AdonisAgelis
Copy link
Contributor

Hello there! Just asking out of curiosity. How can the Page component have access to the params object and extract the username from it, if there is no dynamic route segment? I mean if the folder is not named [username] and then have a page.tsx file inside of that folder, how can it extract the username from the params object? I'm now learning Next.js 13, so I might be wrong about it. So please explain to me if I'm wrong. :)

Hello there! Just asking out of curiosity. How can the Page component have access to the params object and extract the username from it, if there is no dynamic route segment? I mean if the folder is not named [username] and then have a page.tsx file inside of THAT folder, how can it extract the username from the params object? I'm now learning Next.js 13, so I might be wrong about it. So please explain to me if I'm wrong. :)
@AdonisAgelis AdonisAgelis requested review from a team as code owners November 4, 2023 19:56
@AdonisAgelis AdonisAgelis requested review from manovotny and leerob and removed request for a team November 4, 2023 19:56
@leerob leerob merged commit 7226746 into vercel:canary Nov 16, 2023
7 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants