As usual, you do the heavy lifting for us and save us a ton of time. Thanks, Max!
@academind3 жыл бұрын
Really great to hear that, thank you!
@user-qy2wf2lt6v3 жыл бұрын
When the front team at my company needs to learn a new skill or just needs to refresh on a rusty one, we usually say "Check one of Max's courses, he prob. has a good one on the topic". We are really grateful for the amazing, well structured easily approachable teaching content.
@maro70573 жыл бұрын
Your words are clearly understood by non-English speakers. And your video is really helpful. Thanks! 감사합니다.
@FinAgno3 жыл бұрын
Max, you are hands down the best teacher for programming. So easy to understand and whenever you upload I know its quality content and learning is gonna be a breeze. Humblest thank you for your work! ❤️
@academind3 жыл бұрын
That's just amazing to hear and honestly means a lot to me! Thank you so much!
@Gruby7C1h3 жыл бұрын
Max is Sal Khan of React.
@jinpacil3 жыл бұрын
1.000.000.000 % Agree.
@Omar_Al_Seddik3 жыл бұрын
@@jinpacil That's equivelant to 1%, meaning you 99% disagree.
@famuleolamide70262 жыл бұрын
@@Omar_Al_Seddik lol
@huangdiamond17783 жыл бұрын
oh, Max, you just saved my day, I upgraded to V6 a couples hours ago, and feeling frustrated with those red errors. I learnt a lot from this video, thanks.
@jordanmowry91643 жыл бұрын
Thanks Max! I was reading React Router's documentation yesterday and was super confused. Very clear now.
@academind3 жыл бұрын
Really great to hear that! Thank you so much for the nice feedback! :)
@jasonwhisnant54573 жыл бұрын
Thanks, man! Helped me figure out how to fix my very first independent project. Not hired yet, working on some projects to get my portfolio some meat! Thanks again!
@RahulKumar-qu1if3 жыл бұрын
I have stuck for 2 days that what's happening to react router and fortunately came across your video. Really informative.
@samaykasamay Жыл бұрын
Max, You are simply great ! And there is absolutely no definition for your greatness ! First of all, let me tell you, I am now a professional Frontend React Developer by only learning React from ground zero from your Udemy Course. Literally I had to go nowhere after learning from your course. Your teaching method is just amazing where your start from very basic and then gradually move to very advance levels covering almost the aspects required to start with any concept. Coming back to this video, since the update of React Router to v6, I was finding difficulties to migrate from v5 but again you made it really simple by covering all the important points in this video and that too by using the same sample apps which you used in your Udemy course that makes really easy for me to update my notes ( as almost all my React notes are based on your concepts ). Thanks once again !
@officerjeremydewitte21383 жыл бұрын
As a guy still in school who doesn't have the best grasp of react. YOU SAVED ME OMG I WAS STUCK FOR ALMOST AN HOUR BEFORE WATCHING THIS/ Seriously thanks
@ozzyfromspace3 жыл бұрын
These changes broke my app for like 20 minutes while I tried to figure out what was going on, but all-in-all, I like the new way. The semantics make more sense, the route matching algorithm is more intuitive, and the "exact" keyword is there by default, which is typically the behavior we're looking for. Progress! 🏆
@friction50013 жыл бұрын
It deadass it to me too
@mpcrockett2 жыл бұрын
I've come back to this video several times, it's a lifesaver! Thanks!
@KennyCha873 жыл бұрын
Thanks, Max, I had purchased your react course on Udemy, your course is absolutely the best I had learned! It really helps my job! Hope the detailed react-router v6 course will be updated to the paid content soon.
@shahadtuglak19063 жыл бұрын
Thankyou so much Brother, I was getting Error from last 2 Hours and Now your video is Life Saver Thanks Man🖤
@mishucodes69823 жыл бұрын
I got stucked for an hour then got ur video and it really helps me . Thank You Sir
@hasanmirarabshahi19563 жыл бұрын
Thank you very much for this awesome video. as a little point for relative Links in Routes: if you start the "to" with '/' then it will be relative path but you can use absolute path for it to navigate to another Route in the app
@ozzyfromspace3 жыл бұрын
I got that error @2:40 and thought to myself, "is this a typescript issue of some kind?", then went down a crazy rabbit hole for like 20 minutes, reviewing their source-code, trying to figure out why neither I nor VSCode could find the import in node_modules. Lol I didn't, for a second, stop to consider the possibility that react-router-dom just got a major update with breaking changes. Wild that this only happened like 2 weeks ago, insane timing 😂. Anyway, thanks Academind for putting out this video! 🙌🏽 Now, lets keep watching and learning what's new ☮️
@tech-updates3 жыл бұрын
Before 2 year, you both are super champ in youtube, now a days I see only less videos in youtube
@mohsinraza92282 жыл бұрын
Such a brilliant and to the point explanation. I learned react native from you and now react router explanation is superb.
@jacob_dmn3 жыл бұрын
This video is a piece of gold, it's rare to find videos that cover everything 💚
@kllokoq3 жыл бұрын
Thank you for updating you React course which I have enjoyed a lot! These changes make the code a lot leaner! Thank goodness 'exact' was removed, it was a bit confusing.
@ao4-stzf2 жыл бұрын
This is so useful, old tutorials using a different syntax meant I had absolutely no clue why my jsx weren't rendering until I stumbled across your video. Thank you!
@naruto.boruto_edt2 жыл бұрын
Please how did you do it my is still showing a white blank page after changing the the route into an element format
@ao4-stzf2 жыл бұрын
@@naruto.boruto_edt Hey, can you copy past your code in here? This is what I made: //removed
@naruto.boruto_edt2 жыл бұрын
@@ao4-stzf thanks for your concern but I figured it out. It was just an error of wrapping Routes on route.
@ao4-stzf2 жыл бұрын
@@naruto.boruto_edt No worries! Glad it worked out ^^
@gabrielgherman873 жыл бұрын
Excellent!!! I am actually loving the changes! (Having to update a full project here, but nothing that CTRL+Shift+H did not solve it quickly like replacing SWITCH to ROUTES and REDIRECT to NAVIGATE). The new syntax for the elements within the ROUTE is much better, as well as no longer needing the EXACT statement).
@shadabanwar21013 жыл бұрын
I was thinking to upgrade my current project to react router 6 but was super confused. You cleared all my confusions. ❤️
@RaviSharma-wd3rd3 жыл бұрын
i have spent my two day for this error !! Thanx Sir for provide this video
@pavleta7773 жыл бұрын
Omg, you literally saved my life! I have been strugling to understand what all those errors came from even though I knew about Router v6 came out but now I know exactly how to fix them! So precious!
@Omar_Al_Seddik3 жыл бұрын
Your entire life was in precarious danger because of react router's v6? The dev team behind the new version are very evil...
@pavleta7773 жыл бұрын
@@Omar_Al_Seddik Haha, it's figuratively speaking, of course not, my life is not in danger. And I am not the first person ever who expressed their gratitude in such a dramatic way to show how big is the impact from the video. So why bother implement sarcasm in your comment towards mine?
@Omar_Al_Seddik3 жыл бұрын
Was just fooling around.
@pavleta7773 жыл бұрын
@@Omar_Al_SeddikOk, I get that
@SmokinMesa3 жыл бұрын
Awesome, thanks Max your vids taught me Vue better than anyone else did and now these React ones are doing the same.
@azeriwindowoz3 жыл бұрын
Thanks, finally React navigation becomes more elegant like Angular
@mthaha27353 жыл бұрын
Thanks Max. Whenever a new video comes up I have a grin on my face
@maurillekobri94843 жыл бұрын
Thanks a million, Maximilian, for an excellent update, always coming up with a clean and clear explanation as you always do in your courses.
@shikhajamwal47093 жыл бұрын
I like ur all videos. you talk to the point and save a lot of times . Thanku so much sir . keep it up
@elpotatoslayer3 жыл бұрын
This is a great video, the docs shuold be a walk in the park now
@mustaneerhaider5153 жыл бұрын
Thanks Max for such a clear and concise upgrade guide it really helped me a lot. Awesome as always.
@SergioDavidLaserna3 жыл бұрын
I was watching the "Adding Routing" video in your Udemy course and I got the "wrap your in a element" error, I tried to fixed it and found that you've already uploaded this video :D, you are the best Max! Greetings from Argentina.
@amritsingh-nu3yv3 жыл бұрын
Thanks man, I had upgraded to v6 and you saved my from seeing that lengthy documentation !!
@aquepaique3 жыл бұрын
yeah, React Router 6 is more readable and intuitive Thanks Max!
@jerondiovis61283 жыл бұрын
It's worth to mention that links starting with a slash are still considered absolute paths, regardless of any nesting. So if Welcome page renders a Link to='/welcome', it will point to a '/welcome' path. But Route path='/welcome' in the same case will work as it's shown here - it will actually point to '/welcome/welcome'. This difference is a bit confusing for starter, but logical when you think about it. Links are working as they did before, while Routes always maintain a hierarchy.
@zhangyoulv3 жыл бұрын
Thanks, it makes my life a little bit easier. Btw `matchPath` also broken during migration from v5 to v6, replace it with `useMatch`.
@marcinkalmar99643 жыл бұрын
You have good pronunciation, I can easily understand you despite my English is not very , very good.
@waleedsharif6183 жыл бұрын
This is very helpful video please make more of this kind when something changes...
@petarkolev69283 жыл бұрын
Yet another perfect video by Academind ❤️❤️❤️ Guys, you are my number one when it comes to courses! I have almost all your courses on Udemy ❤️
@harshmalviya48313 жыл бұрын
Fan of your work Max, I love how easily you make us understand these complex things.
@seanfang3983 жыл бұрын
Thank you so much for making this react router v6 video for us, MAX♥♥
2 жыл бұрын
Helpful. I did fall in love with your React course
@ozzyfromspace3 жыл бұрын
Outlets are a game-changer for the semantic structure of routes!
@Pilosofia3 жыл бұрын
the new change of nested routes will help a lot , because I used to change the relative path's name and have to go through every nested routes to replace it .
@arunchapagain85002 жыл бұрын
Thats why you are highest rated on udemy too.. Thanks Max
@marcus_leon3 жыл бұрын
Thank you so much sir. Your video is just right on time. Hope you make another one for protected routes too. Thanks again sir😀
@ahishka72432 жыл бұрын
Amazing! Much appreciated, amazing explanation, will start using v6 now
@AgustinAstronomy3 жыл бұрын
thanks for this video max!!!!! youre the best teacher by far, so easy to understand. Just waiting for protected routes documentation, cannot find it
@popprazanaparanyaugustin77243 жыл бұрын
I like the new concept of relative path in a nested route. Anyway, You are a good explainer, thanks for your video, seeing this, I think I will immediately upgrade to V6
@mrjebbar3 жыл бұрын
Thank you max for going through this, I've got all your courses on udemy and love your content. One of my fav dev heads you are.
@PartheevVideoClub3 жыл бұрын
Max, make a video on Next.js 12.
@tomasburian65503 жыл бұрын
I wub you
@paranoia-19943 жыл бұрын
My English bad but great teacher, i undestand your lesson, thank from Russia
@saifrehman86313 жыл бұрын
YOU ARE THE BEST!!!! YOU DESERVE EVERYTHING YOU PRAY FOR
@audreydelgado21983 жыл бұрын
Thank you, Max. Excellent information, as usual. Keep up the great work. 👨💻
@Lotpite2 жыл бұрын
Thanks for the best explanation about activeClass for NavLink :-)
@lucasmdo3 жыл бұрын
Really nice summary. I'm starting with React dev now, and this video was not just an upgrading guide, but a tutorial on React Router v6 in itself. One question though, is it possible to listen to browser navigation (for example, by pressing the browser back button), or this is the part that we are missing on v6?
@andygr1n13 жыл бұрын
Thanks, it was really helpfull to get updated with react!
@FunctionGermany3 жыл бұрын
there seems to be a few rendering glitches in the video, like at 14:10, but also earlier around 7 minutes in. probably Premiere Pro being funky as usual.
@academind3 жыл бұрын
Oh - that's indeed super annoying. Didn't catch that unfortunately. Indeed looks like some weird Adobe Premiere magic... Super sorry about that!
@GoBeyondCode3 жыл бұрын
so much with one upgrade, thanks max!!!!
@Thilina43213 жыл бұрын
Please please big AWS course for developers. Existing one is small. ❤️
@debora26333 жыл бұрын
I liked the video, it would be interesting if you made a video of how to perform the tests with React Testing Library in this new version, because I had difficulties to render the elements.
@mthaha27353 жыл бұрын
Following
@Ksenseisei3 жыл бұрын
min 24:30 Im a bit confused, is it necessary to use there? its just weird to me because we're changing everything to so why are you still using it there? is it because of the second approach to nesting routes?
@abilashmanoj79243 жыл бұрын
ended a day of agony for me..thank god i found this video
@stillready64053 жыл бұрын
Thank you very much for that video and good explanation AND the source code of your examples, much appreciated :)
@itgiants52183 жыл бұрын
WoooW a clear explanation everything was clear.
@ghalitsar27303 жыл бұрын
does we can do the same thing with the product & productDetail Route ? 22:52 i think the productDetail can be the child of product route? or i don`t know just wondering ..
@dimitridoroshko3 жыл бұрын
Max, I bought your react course on Udemy. You explain everything straight to the point. Love it :)
@academind3 жыл бұрын
Thank you so much! Really great to hear you're liking it! :)
@mrinalraj71662 жыл бұрын
Exactly what I was looking for.......cheers
@sagarsagar34563 жыл бұрын
Thanks Max for sharing such information
@micoberss55793 жыл бұрын
Max, you are the best. Thank you for these instructions
@academind3 жыл бұрын
Thank you so much! Happy to hear that this was helpful!
@saskirakosyan52683 жыл бұрын
Very useful content 🙂, thanks, thare are a lots of changes.
@gwapster132 жыл бұрын
Isn’t changing the established form of the className prop (for NavLink) a debatable design decision? This is a great summary of the changes btw!
@mohd.yasnnn3 жыл бұрын
Thank you for making this video,really helpful.
@anhtungle15542 жыл бұрын
bought your course twice.
@felicitya.90773 жыл бұрын
You've earned a new subscriber, thank you!
@omrimaher27543 жыл бұрын
I still watching to see if your video cover react router : Route Render Function and Route Props thanks for your efforts
@m0hammedimran3 жыл бұрын
This is awesome. You are awesome. Thank you so much. This is exactly what I wanted.
@adr1m3 жыл бұрын
Great as always! Could you please make a short video on how to make a Modal using ReactRouter 6? Thank You!
@eminm63833 жыл бұрын
This was such a clean explanation, thanks!
@sachinnaik71052 ай бұрын
Thank you so much Max for saving a lot of time reading through the upgrade guide. How can I preserve the existing query params while redirect/navigate considering that I am using browser router?
@adarshchakraborty3 жыл бұрын
My favourite teacher ❤️
@МаксимЛибер-ф2н3 жыл бұрын
Hello, thank for the video. I have a quastion about history: On v5 version i was creating history with createBrowserHistory and pass her into . And then i could programically redirect from outside of the component. I do this for move most login from component to the store-manager. How its possible to do the same on v6? Thanks for answer.
@oliviazhai18312 жыл бұрын
such a great video, thanks so much for making the video
@flowerofash44392 жыл бұрын
THANK GOD THIS TUTORIAL EXIST
@TheBestEpicProGamer3 жыл бұрын
Is there a video issue at 7:05 ?
@FunctionGermany3 жыл бұрын
yes
@academind3 жыл бұрын
Yeah indeed - super sorry about that. And extremely annoying. Looks like some rendering issue. Didn't catch that one unfortunately. Sorry about that!
@TheBestEpicProGamer3 жыл бұрын
@@academind no problem :) nice video anyway
@mahdikamran80612 жыл бұрын
yore best teacher in the world
@mohammadrezabehzadfar5913 жыл бұрын
thank you max,please make one tailwind css course
@agustinfederico1412 жыл бұрын
Hey! Fantastic tutorial. Two questions tho: 1- If I'm inside of a component, now routing is relative to the parent. What if I want to go out, and have a link to the main page? Am I obligated to use navigate? Or navigate is also relative to the parent route? 2- The outlet: we saw an example of an outlet with just one child. But what if have two or more children? How can I specify the place to show each of those if the position in the page for them is different? Thank you so much for this!
@TheCodebookInc3 жыл бұрын
Best Diwali gift 😅
@vu88603 жыл бұрын
Wow, great tutorial. Thank you so much.
@ante1063 жыл бұрын
Thank you so much Max!, you saved my day too.
@elenah9493 жыл бұрын
Very helpful content! Thanks!
@murugarajuperumalla55083 жыл бұрын
Super, max loving it.
@flowerofash44392 жыл бұрын
excellent clear explanation, auto subscribe!!!
@DARKCOP20113 жыл бұрын
Max, one of the best!!!! Thanks so much!
@abeebayinla48582 жыл бұрын
Thanks for the update. There is another change I saw which was "withRouter" was not found in version 6 or react-router-dom. Please do you know the alternative to "withRouter" in version 6?
@NovaAquarius3 жыл бұрын
Super helpful. Can you also explore other things like privateRoute as that also changed with v6