This man is a genius. I cannot thank him enough. Every other tutorial, even the official documentation, shoves way too much extra stuff in your face before they go over the basics. I appreciate the structure and clarity going on here.
This video should hopefully help with how to do this. It is using an older version of React Router, but the general idea should be the same. th-cam.com/video/PKwu15ldZ7k/w-d-xo.html
He is a true professional and a teacher. Honestly I've learned from this tutorial more than in a full length course. Thank you and please keep sharing simplified and perfectly explained content as the above.
I'm evolving from a normal html/css/js web developer into a react developer, and my god I'm just so impressed with npm and react right now. So much stuff to make coding easier! I also love your tutorial on how to get started with routers. I was still using anchors and href this I discovered routers not too long ago :)
i generally dont watch tutorials because i feel like i am wasting my time and just read the documentation but this video has helped me a lot because the documentation was complicated. thanks a lot
@@yyyzzz-k3rthat's 99% of documentation out there with extensive material, that's why I end up writing my own cheat sheets and notes when I learn a tool
Thanks you for all your tutorials. It really helps in my job. I created an enterprise level application in React all by myself. Couldn't be possible without your tutorials
@@WebDevSimplified There is a scenario in which I want to show a separated component for only index (/books) route with component RootBooks. Problem I am facing, RootBooks component shows within BookLayout. I do not want to show contents of BookLayout, just RootBooks contents should appar when I move to route "/books". How can I achieve this with react router v6 ?
Man you're saving my life right now. I started to learn React Router but when I saw those massive information block I was spooked by it. Thanks for this video!
My man!!! That's better than any paid course... You should hire someone to translate this to other languages, many non english speakers are losing your awesome content!! Tnx!
Dope, I will probably have to watch it one more time. Really cool to see how much you have grown compared to your old videos. You are so much more expressive and enjoyable to listen to. Keep up the good work.
Wow! I feel like I watched this on 1.5 speed. Such amazing information in such a short period of time! I'll definitely have to watch this a few times for it all to sink in. Exciting!!!
was working on a project, had some obscure questions that google didn’t help with, but this video somehow magically answered literally everything right when i needed it.
Wow, this was very helpful. I appreciate how you did not cover just the basics but all the small and big parts. You are such a great instructor. Thanks for taking out your time and making it for us. I can not thank you enough.
Thank you fr, solved my problem in literally 5 minutes. Spent the entire day on different tutorials and even the documentation and you solved my problem in 5 minutes.... Thank you again
You helped me land my first web developer job. Was watching your tutorials and coding along and in my interview i had a very similar coding challenge to what I was just learning from you. Thanks web dev simplified
Kyle i have to watch ur router v6 video at 0.9x speed and still keep replayong certain segment to understand it properly. It's way too much to consume in one go and i still very much love it !!
Holly heavens, i have been struggling with react router v6 and i was planning to give it a shot and read the documentation and here you are saving for the day, thank you
bro just created a visual representation of react-router-dom v6 documentation in one go🤯🤯you are amazing bro & thank you very much 💖 for providing web dev experience in a simplified version
About the replace attribute, I believe another important use case for wanting to replace the last element on the browser history would also be if you have some sort of payment page, you want to make it difficult for your user to accidentally pay twice.
hey web dev simplified, you totally saved my life for creating this masterpiece, very clearly explained for every details, truly appreciate your hard work, please keep it up!
The ENTIRE INTERNET would crash if not for you Kyle! :) .. Seriously; you help the total-beginner all the way to the most senior developer. Amazing amazing amazing.
Very high quality content from this man, every time I have doubts on certain topics I just look for his tutorial and really helps me to understand, crazy precise and concise explanations (IMO). I guess he isn't joking when he says "my job is to simplify the web for you". Respect good sir!!!
Thank you so much for explaining this topic so efficiently. For someone who is new to react and had no experience about routing in react world, this was very much helpful. It gave me a pretty solid understanding to begin I think.
This is a great lecture and well tutored. A little input. The react-router-dom is already pre-installed with create-react-app so we do not need to install it seperately when dealing with React apps. Routing become complex in React because React is a SPA - single page application however react-router-dom simplifies routing system in React application. Great lecture and the way you simplified it is insane. Respect.
Odd question, but is there a chance you can include a keyboard overlay that tracks your button presses? Would love to see the shortcuts you use in real time
This man is a genius. I cannot thank him enough. Every other tutorial, even the official documentation, shoves way too much extra stuff in your face before they go over the basics. I appreciate the structure and clarity going on here.
I agree, he's the best
Also he has that disney-prince perfect hair 😭
This feels like paid content that I didn't pay for. Learned so much more in a half hour video than I have in a 3 month course. Truly amazing!
Could you also go over protected pages like account pages once you are logged in?!
was wondering about that one aswell, with the new version it seems to be a bit more complicated imo
This video should hopefully help with how to do this. It is using an older version of React Router, but the general idea should be the same. th-cam.com/video/PKwu15ldZ7k/w-d-xo.html
you can just create an HOC
He is a true professional and a teacher.
Honestly I've learned from this tutorial more than in a full length course.
Thank you and please keep sharing simplified and perfectly explained content as the above.
I'm evolving from a normal html/css/js web developer into a react developer, and my god I'm just so impressed with npm and react right now. So much stuff to make coding easier!
I also love your tutorial on how to get started with routers. I was still using anchors and href this I discovered routers not too long ago :)
right? first time i started using react, my mind was blown lmao
i generally dont watch tutorials because i feel like i am wasting my time and just read the documentation but this video has helped me a lot because the documentation was complicated. thanks a lot
Yeah, I was trying the documentation and they hide a lot of materials... they are just like do this., do that.. never explain why
@@yyyzzz-k3rthat's 99% of documentation out there with extensive material, that's why I end up writing my own cheat sheets and notes when I learn a tool
I think I know my Router v6, but I'll definitely check this video out cuz, knowing Kyle, he probably has some cool tricks up his sleeve.
Pack 45 minutes, a well done tutorial I think the community should start thinking to give you a title like The WDS Professor.
Seriously this video is different from other videos where they just tell how to setup a thing and dont go in details.
Thanks bro
Thanks you for all your tutorials. It really helps in my job. I created an enterprise level application in React all by myself. Couldn't be possible without your tutorials
Congratulations!
@@WebDevSimplified There is a scenario in which I want to show a separated component for only index (/books) route with component RootBooks. Problem I am facing, RootBooks component shows within BookLayout. I do not want to show contents of BookLayout, just RootBooks contents should appar when I move to route "/books". How can I achieve this with react router v6 ?
Man you're saving my life right now. I started to learn React Router but when I saw those massive information block I was spooked by it. Thanks for this video!
3 minutes into the video and my page is already working! Awesome! Now I'm going to watch the entire thing!
This is the first programming tutorial I've watched at 1x. That is a huge compliment in my book.
you literally just saved my life holy shit i've been trying to learn this stuff for like a whole week and you just magically did it THANK YOU
Hey man. Thank you so much for these videos. Because of you, I am now proficient in react and I am pretty good at my new job as software developer.
Ditto!
My man!!! That's better than any paid course... You should hire someone to translate this to other languages, many non english speakers are losing your awesome content!!
Tnx!
Dope, I will probably have to watch it one more time. Really cool to see how much you have grown compared to your old videos. You are so much more expressive and enjoyable to listen to. Keep up the good work.
Wow! I feel like I watched this on 1.5 speed. Such amazing information in such a short period of time! I'll definitely have to watch this a few times for it all to sink in. Exciting!!!
was working on a project, had some obscure questions that google didn’t help with, but this video somehow magically answered literally everything right when i needed it.
Wow, this was very helpful. I appreciate how you did not cover just the basics but all the small and big parts. You are such a great instructor. Thanks for taking out your time and making it for us. I can not thank you enough.
Thank you fr, solved my problem in literally 5 minutes. Spent the entire day on different tutorials and even the documentation and you solved my problem in 5 minutes.... Thank you again
You're definitely the best teacher when it comes to web development imo. Even your react hooks course that I took felt perfect man you're the best
This was so hard, but I was able to follow it. Thanks man
You helped me land my first web developer job. Was watching your tutorials and coding along and in my interview i had a very similar coding challenge to what I was just learning from you. Thanks web dev simplified
So I had a bug for days, and this man showed it to me 2mins into the video. Love it
Kyle i have to watch ur router v6 video at 0.9x speed and still keep replayong certain segment to understand it properly. It's way too much to consume in one go and i still very much love it !!
Yoo, this is so in-depth! Thanks😀
Holly heavens, i have been struggling with react router v6 and i was planning to give it a shot and read the documentation and here you are saving for the day, thank you
Why the heck are you so good at explaining? i love the way you explain man!! you're the best teacher i've ever had hands down
bro just created a visual representation of react-router-dom v6 documentation in one go🤯🤯you are amazing bro & thank you very much 💖 for providing web dev experience in a simplified version
I usually don't learn a lot from tutorials, but this one was by far my all time favorite tutorial because I actually learned a tone!
Thanks man!
great one kyle... i was just ignoring react route v5 and implementing v6 for my project... compared to v5, v6 is pretty straight forward...
About the replace attribute, I believe another important use case for wanting to replace the last element on the browser history would also be if you have some sort of payment page, you want to make it difficult for your user to accidentally pay twice.
One of the best explanations ever, thank you Kyle for all your tutorials they are very very helpful and informative!
hey web dev simplified, you totally saved my life for creating this masterpiece, very clearly explained for every details, truly appreciate your hard work, please keep it up!
You are the best. TH-cam is lucky to have you!
The clear, firm and fast way you teach is impressive. Thanks
This guy is a genius!
This guy is my hero! For reals, thanks man, your tutorials have saved my butt in this coding bootcamp I'm taking.
Thanks for the introduction to React Router.
FYI: You can use `component={ My Component }` instead of `element={ }` to avoid extra loading
your method is not working i do not know why?may be they stop using it in updated version
ya,in the updated version(v6) there is no `component` only `element`.
Congrats on 1M🥳🥳
You have saved my life so many times with your videos! Thanks just for existing
Man, I love you! So concise and efficient, you're one of the best educators out here.
Can not thank you enough man !
You've really summarised it efficiently !
Perfect tutorial ! This is my first ever comment on TH-cam and I've watched many vids but learned so much so much quickly in this video 👏👏
Thanks Kyle, highly informative and helpful as ever, really helped me with an issue I was having with the nested router functionality.
1M Subscribers!!! You deserve it!!!!
The ENTIRE INTERNET would crash if not for you Kyle! :) .. Seriously; you help the total-beginner all the way to the most senior developer. Amazing amazing amazing.
Congratulations on your 1 million subscribers! You’ll have another 1 million in no time, I’m absolutely sure. Keep them coming!
Your a pure genius, it seems so much easier when listening to you! Thanks!
Very high quality content from this man, every time I have doubts on certain topics I just look for his tutorial and really helps me to understand, crazy precise and concise explanations (IMO). I guess he isn't joking when he says "my job is to simplify the web for you". Respect good sir!!!
One of the best updated React Router Dom videos! 👍🏼
Man you really simplifying web for us, Huge respect and lots of love🤩🤩
Kyle man you are god sent, can't thank you enough for uploading such really useful videos.
Man your speed and no fuss is why you're great.
This is brilliant!!! You're an amazing teacher! You're explaining so fast, but so good, I can't believe anyone can be so good at it
Great video.
1million subs ! Bro, that's huge ! Years of hard work and dedication paid off. Congrats a ton ! Well deserved !
The basics really helped me complete the header component for a project of mine!!! Very useful!! Will watch the rest at another point too!!
Congratulations for 1 M subscribers.. please do the separate video and tell us how you started journey
Today I am going to be drank.
Thank you so, so much. This is the guide about this on all of TH-cam.
You earn my respect for the extra content routing. I never think about it. Thank you for sharing that
Seriously just few days back finished your react navbar route video and now this comes🤩🤩
Extremely Amazing Content 🔥🔥🔥🔥🔥🔥
Thanks!
You are very welcome!
Fantastic tutorial for someone newish to React and React Router. Much appreciated!
best explanition ever covered every thing i don not know how to thank you
If you're here for component: 20:00
the react router v6 docs literally sucks glad u are here for the rescue
Congrats for 1M subs 🥳🎊✨
22:58 //Outlet : context
38:56 // useEffect useNevigate
45:31 // state
Amazing content and with best possible explanation , Didn't know earlier how many options we can have in just one topics... hats off
Keep going bro nice I love your explanation 😊
Thank you so much for explaining this topic so efficiently. For someone who is new to react and had no experience about routing in react world, this was very much helpful. It gave me a pretty solid understanding to begin I think.
This is a great lecture and well tutored. A little input. The react-router-dom is already pre-installed with create-react-app so we do not need to install it seperately when dealing with React apps. Routing become complex in React because React is a SPA - single page application however react-router-dom simplifies routing system in React application. Great lecture and the way you simplified it is insane. Respect.
this is really nice, with no over info. its concise and helpful. Thanx
Thank you. It helps to start learning React Router better than docs.
This is the best tutorial I've seen so far, Thank you so much !!
OMG This is so helpful. This makes the reference page extremely readable!
So far best tutorial in react routing!
Thanks
Thank you for the support!
Thank you so much man, your videos helped me a lot to get a job as front end developer
I am getting back into production after so ti and tNice tutorials makes it so easy to understand. Thank you so much for making these videos.
This was an excellent video! A great summary of React router, helped me a lot.
Thank you for these comprehensive videos. I would be very grateful if you upload a full in-depth video on Redux Tookit and RTK Query.
Odd question, but is there a chance you can include a keyboard overlay that tracks your button presses? Would love to see the shortcuts you use in real time
didnt know that Homelander now teaches react
😂
😂😂
😂😂😂
😂😂😂😂
😂😂😂😂😂
very comprehensive explanation and easy to understand. Thankyou
Thanks man it really helps everytime i caught problem with react router you really great man
Great overview now I can go ahead and read the docs with more confidence :)
This guide literally saved my mental health.
Congrats on 1 mill. well deserved.
Danke!
You're welcome!
You teached me in a very simple way !!!! Thanks Man
Appreciate all your videos! I always look for your breakdown on pretty much any topic that pops up now.
This is brilliant you just earned a subscriber
Thank you so much for explaining with practical examples and code walkthrough! I learnt it well!!!
You are extremely good teacher, thanks for ur content!
thank you so much, the best and most comprehensive router v6 tutorial!
Kyle . Congrats On reaching one million subs. You've been very helpful
Glad for this valuable content, i also saved it for the future, on my React router dom notes