Naming convention for files/directories in Nextjs 14
Answered
Ghost ant posted this in #help-forum
Ghost antOP
app/profile/[profileID]/page.tsxI am wondering if I am following the convention here, do you suggest another approach or to stick to what I doing?
Answered by B33fb0n3
if you would ask me personally, I would rename the dynamic part to only [id]. Because I know it must be a profile Id, because I a going though
/profile/ @Ghost ant5 Replies
if you would ask me personally, I would rename the dynamic part to only [id]. Because I know it must be a profile Id, because I a going though
/profile/ @Ghost antAnswer
@Ghost ant solved?
@B33fb0n3 <@685990756477173793> solved?
Ghost antOP
I used ‘profile/[id]/page.tsx’
perfekt! ðŸ‘