Next.js Tutorial #11 - Dynamic Routes (part 1)

  Рет қаралды 142,926

Net Ninja

Net Ninja

Күн бұрын

Пікірлер: 48
@dawid_dahl
@dawid_dahl 3 жыл бұрын
I just got my first web developer job at an agency two weeks ago, after having been studying on my own for the last three years. I’ve watched so many of your tutorials, and I just wanted to write and send off a huge and heartfelt *thank you* to you Shaun, for everything you have done for me, and I’m sure so many others as well. You’re a fantastic teacher! 💙 Now, back to the video!
@supa1009
@supa1009 3 жыл бұрын
Congratulations!
@marcinkalmar9964
@marcinkalmar9964 2 жыл бұрын
How many houres have you spent per day for learning ? :)
@dawid_dahl
@dawid_dahl 2 жыл бұрын
@@marcinkalmar9964 Worked full-time so maybe 2-3 hours per day during work-days and maybe 12-16 per day during weekends. Not all the time obviously, but roughly.
@marcinkalmar9964
@marcinkalmar9964 2 жыл бұрын
@@dawid_dahl You have made good thing anyway , I started learn from Ninja hal month ago and this really help me understand better concept , in my case i dont know very good english and i have to learn english and java script in the same time (java script wring it :D ) I wait when I will became better in english and this allow me better understand :)
@dawid_dahl
@dawid_dahl 2 жыл бұрын
@@marcinkalmar9964 Awesome work learning English and programming at the same time. That must be super challenging! 🙏🏻🙌🏻
@7AM_view
@7AM_view 3 жыл бұрын
This guy sharing knowledge free of cost. Why he has not yet 1M subs? This man must be honoured with a civilian award.
@dawid_dahl
@dawid_dahl 3 жыл бұрын
Amen.
@svampefett
@svampefett 2 жыл бұрын
When you are not paying, your attention is the currency ;)
@pepnieto9555
@pepnieto9555 2 жыл бұрын
Well, he just got them :p
@exoticcoder5365
@exoticcoder5365 2 жыл бұрын
Life Saver, Hero doesn't need to wear cape. Thank you so much so much
@SamLuvsPizza
@SamLuvsPizza 3 жыл бұрын
Aww yeah, just in time for my break at work! 🔥😁
@NickPics23
@NickPics23 3 жыл бұрын
I love you. Ive been racking my brain figuring how to learn this and you made it so easy to understand.
@joaquingavernet
@joaquingavernet 3 жыл бұрын
Thank you so much for the clarity you share in each of your videos. You are amazing!
@bahabelomgebremedhn2318
@bahabelomgebremedhn2318 Жыл бұрын
words fail me to thank you ninja.
@alexcostal3749
@alexcostal3749 2 жыл бұрын
Amazing Short video but more realistic keep it up 🙂
@monireol
@monireol 3 жыл бұрын
Sir, how can I return the params. Not only number. I want to return any string, what user put the value in [id].js I can't solve. Please solve
@juleshwa
@juleshwa 3 жыл бұрын
If you want to use /ninjas/username, you can change to: href={`/ninjas/${ninja.name.toLowerCase().split(" ").join("-")}`}
@リンゴ酢-b8g
@リンゴ酢-b8g 2 жыл бұрын
a best path is determined by the quickest routing interfaces, since they are superior (cost less)
@bishnudas3562
@bishnudas3562 3 жыл бұрын
i noticed the ninjas listing page before loading freezes for a while... is this because of async calls made to api?
@skverskk
@skverskk 2 жыл бұрын
Great info, as always
@NetNinja
@NetNinja 2 жыл бұрын
Thanks Ken!
@alejomakevids
@alejomakevids 2 жыл бұрын
If I'm using the pokemon api will nextjs generate more than 500 static files for them? I'm currently learning about this framework and don't know how handle this use case. In plain react would just use react-router-dom package and handle this easily I don't know how to achieve the same in next.
@Array_of_objects
@Array_of_objects Жыл бұрын
What about a route like /users/id/verify/tokenId ? How would I do a route like this? Where id and tokenId are obviously always different?
@codehat3645
@codehat3645 3 жыл бұрын
Brilliant videos!! It really helped me with my work!!
@seyolas3588
@seyolas3588 3 жыл бұрын
if we pass a string like /ninjas/mystr It is also working how to fix this ?
@ahmedmelfay
@ahmedmelfay 2 жыл бұрын
But how can you check if the id exists in the response? Lets say you only get 10 ninjas from the response but if you type in the url /ninjas/11 it would still redirect you to details page even tho you dont have an id of 11. I know i can use .includes() but is there like a cleaner way?
@omartrkzi
@omartrkzi 2 жыл бұрын
Ye, exactly, and if you type in the URL: /ninjas/some/route/that/doesn_t/exist you will get the same result: a 404 response. What did you expect ?
@dawoodchaudary8736
@dawoodchaudary8736 3 жыл бұрын
what about /ninja/1/ninja-slug ? how to handle this
@AutisticThinker
@AutisticThinker 3 жыл бұрын
4:53... Plus sign instead template literal!!! Oh it matters! :)
@petecodes
@petecodes 3 жыл бұрын
Great tuts
@beebabacha449
@beebabacha449 3 жыл бұрын
sir can you help me to solve my problem. i am facing problem in sharing an article from my site on facebook in nextjs app. it sharing only homepage meta data not other page data
@pikolq7665
@pikolq7665 3 жыл бұрын
how to place the footer down ? plz tell
@zoomixinfohelp8995
@zoomixinfohelp8995 3 жыл бұрын
Great content
@ridl27
@ridl27 3 жыл бұрын
ty
@MyStockz
@MyStockz 2 жыл бұрын
Me thinking why he doesn't have a million sub... Me realizing that he has a mil sub.... Me thinking why he doesn't have 2 million subs...
@VS257
@VS257 3 жыл бұрын
JSON place holder seem to stopped working
@sontiyo7113
@sontiyo7113 3 жыл бұрын
its working for me
@richleach198
@richleach198 3 жыл бұрын
the entire React/Next.js/JSON ecosystem occasionally seems to need a "jiggle the handle" (restart the server)
@mathewdavies1480
@mathewdavies1480 2 жыл бұрын
Why does everyone pronounce 'route' as 'rowt'? In Britain when we say something like 'route planner' its pronounced 'root'.
@Ibrahim-oc5ql
@Ibrahim-oc5ql 3 жыл бұрын
So GG
@beebabacha449
@beebabacha449 3 жыл бұрын
sir can you help me to solve my problem. i am facing problem in sharing an article from my site on facebook in nextjs app. it sharing only homepage meta data not other page data
@pikolq7665
@pikolq7665 3 жыл бұрын
how to place the footer down ? plz tell
@beebabacha449
@beebabacha449 3 жыл бұрын
sir can you help me to solve my problem. i am facing problem in sharing an article from my site on facebook in nextjs app. it sharing only homepage meta data not other page data
Next.js Tutorial #12 - Dynamic Routes (part 2 - getStaticPaths)
6:28
Next.js App Router: Routing, Data Fetching, Caching
14:32
Vercel
Рет қаралды 338 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Next.js Tutorial #1 - Introduction & Setup
8:43
Net Ninja
Рет қаралды 353 М.
Client-Side VS Server-Side Rendering - Data Fetching with Next.js
13:20
freeCodeCamp Talks
Рет қаралды 184 М.
Next.js Tutorial - 7 - Dynamic Routes
10:21
Codevolution
Рет қаралды 161 М.
Learn Next.js 13 With This One Project
29:42
Web Dev Simplified
Рет қаралды 390 М.
Authentication Flow in Next.js (Complete Tutorial)
30:37
Cosden Solutions
Рет қаралды 32 М.
NextJS Parallel Routes Explained with a Simple Example
14:04
Dave Gray
Рет қаралды 16 М.
Next.js Tutorial #10 - Fetching Data (getStaticProps)
8:01
Net Ninja
Рет қаралды 184 М.
When Did NextJS Routing Become so Advanced??!
8:02
Josh tried coding
Рет қаралды 48 М.