Frzeen Ali first of all bro you are doing great job.. trust me your explanation is outstanding. i have 3 questions regarding this videos. but first i want to my suggestion for you. knowing and teaching the same things are different may of content creator jumps in their videos just bcs the know that concept very well so they think a new beginner will catchup easily but that not true. when you are teaching you must assume that your student is blind about this new concept so teach him/her like he/her is a child he need explanation on every your movement i.e why you did this, why you delete that etc.... and you explain very well next time we hope you will explain more simple way ..... now my questions 1). 03:56 why u removed import react in child page.js. 2). : 08:21 why function name Employee is same in both page.js. 3): [Detail] You never use this folder name in route so how my on click name link goes on page.js which is inside [Detail] folder.
Thank you for your feedback and kind words! I really appreciate your suggestions and will definitely keep them in mind for my future videos to ensure I explain concepts more clearly. Regarding your questions: 1. At 03:56, I removed 'import React' in the child 'page.js' because in Next.js 12 and later versions, it's no longer necessary to import React at the top of every file. React is automatically available in every component file. 2. At 08:21, you can use different names for your components no issues 3. For the [Detail] folder, Next.js 14 allows you to create dynamic routes like this: If your structure is something like: employee/[dynamic]/page.js It means any dynamic value can come after /employee/ in your URL. For example, /employee/123, /employee/john, etc. The [dynamic] part of the folder name makes this possible.
Masha Allah sir great video hy
🔥🔥🔥🔥🔥
Nice boss
wah sir kya samjhaya hai updated and well explained
@@ranatahataha3673 thanks❤️
Outstanding brother welldone
@@gurutechnique9074 thank you
❤
Bhi products cards Py dynamic routing banao
Clear cut Syntax + Clear cut Explanation
@@mumtaheenkhan4524 🤞❤️
Frzeen Ali first of all bro you are doing great job.. trust me your explanation is outstanding. i have 3 questions regarding this videos. but first i want to my suggestion for you. knowing and teaching the same things are different may of content creator jumps in their videos just bcs the know that concept very well so they think a new beginner will catchup easily but that not true. when you are teaching you must assume that your student is blind about this new concept so teach him/her like he/her is a child he need explanation on every your movement i.e why you did this, why you delete that etc.... and you explain very well next time we hope you will explain more simple way ..... now my questions 1). 03:56 why u removed import react in child page.js. 2). : 08:21 why function name Employee is same in both page.js. 3): [Detail] You never use this folder name in route so how my on click name link goes on page.js which is inside [Detail] folder.
Thank you for your feedback and kind words! I really appreciate your suggestions and will definitely keep them in mind for my future videos to ensure I explain concepts more clearly.
Regarding your questions:
1. At 03:56, I removed 'import React' in the child 'page.js' because in Next.js 12 and later versions, it's no longer necessary to import React at the top of every file. React is automatically available in every component file.
2. At 08:21, you can use different names for your components no issues
3. For the [Detail] folder, Next.js 14 allows you to create dynamic routes like this:
If your structure is something like:
employee/[dynamic]/page.js
It means any dynamic value can come after /employee/ in your URL. For example, /employee/123, /employee/john, etc. The [dynamic] part of the folder name makes this possible.
very informative. thank you ❤❤