In earlier versions of React Router (specifically up to version 5), the exact prop was used to ensure that a route only matched when the URL exactly matched the route's path. But, in latest version, there's no need for exact because the routes already behave as if exact was applied.
Bob ziroll already made a more comprehensive course about react Router V6, the best thing you'd have done is create one on how to use react Router v6 and Redux/toolkit and RTK Query. but good job anyway
getting this error on the latest routing dom, I am using vite, react + ts please help "dependencies": { "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.22.3" }, here there is a red line under exact Type '{ exact: true; path: string; Component: () => Element; }' is not assignable to type 'IntrinsicAttributes & RouteProps'. Property 'exact' does not exist on type 'IntrinsicAttributes & RouteProps'.ts(2322)
This is NOT the latest version!!
v6.4 is the latest which replaces BrowserRouter, Routes etc.
Please like this comment so others can also know
What is it replaced with
Omg I was looking for a course on React Router. Thank you!!
this is the old version of the Browser Router current version is 6.4
In earlier versions of React Router (specifically up to version 5), the exact prop was used to ensure that a route only matched when the URL exactly matched the route's path. But, in latest version, there's no need for exact because the routes already behave as if exact was applied.
You guys are awesome, I have been looking for a comprehensive video on routing. Much love
Sir thanks for that video kindly make a complete react course
Thanks for the info. Very well explained. I didn't know I needed this but I did. :) Good job!
Just finished the video. Good work👍👍. Please more DevOps course😘
How did you finish a video that is 100+ minutes long and was just uploaded 6 minutes ago?? That would be 1000X speed viewing
What the hell man?
You're kidding😅
Lol this is not even devops course😂
Bot 😂😂😂
Great and very clear explanation. Very informative.
Isn't the mew method is createBrowserRouter?
Awesome Tutorial !!!what a clear explanation...Thank you so much for the best resource ..
This is a very nice content. God bless the creator
Adding to my to-watch list
and youll never gonna watch it like the other ones :D
@@igetpaidtocode lol true
Bob ziroll already made a more comprehensive course about react Router V6, the best thing you'd have done is create one on how to use react Router v6 and Redux/toolkit and RTK Query. but good job anyway
Are you referring to the Scrimba course
Well explained, keep doing good, you will be blessed
Great course, nice refresher. Thanks
this is awesome thank you!
This doesn't look like v6, correct me if I'm wrong though...
I don't think its latest release.
i think, react router changed at 6.4
@@xyz-ey7ulit's possible with the last versión use browserRouter but the new sintaxis is different and I know is better.
In other words, the tutorial doesn't show the new syntax, but the old syntax
this works with current version
Please make updated react appwrite course
Bring the new browser functionality in new version
Nice course. Thanks for this quality content
Great tutorial ❤
The features used in this course are not from react router dom version 6 , these are the features which are belonged to version 5 , isn't it
The best content. so cool
I built a page for a client and he was screaming for more pages well here you go :) thank you
Thanks n word guys op brother
Waiting for this
Thanks a lot
cool
Cool!
Its been about 2 months i started learning React. Is this tutorial suitable for beginners like me? Anyone?
It's hard to say especially since I have no ideas on what you've learned so far...
Wow nice thanks for sharing the knowledge, awesome content 🫡🙏🤲👍👌
thank you bro...
please, the link to the git rep
Cyber security course needed
🎉
Please give us dev ops course
🎉🎉🎉🎉🎉🎉
Sir pls bring AIML complete course
"John appears to be a potato"🤣🤣
getting this error on the latest routing dom, I am using vite, react + ts please help
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.3"
},
here
there is a red line under exact
Type '{ exact: true; path: string; Component: () => Element; }' is not assignable to type 'IntrinsicAttributes & RouteProps'.
Property 'exact' does not exist on type 'IntrinsicAttributes & RouteProps'.ts(2322)
I think it should be "element" attribute instead of "Component"
'component' prop is from React Router 5 and has been replaced by 'element' prop in React Router 6
@@sourya111 Thanks a lot boss.
@@dexter00076 great. thanks
"exact" prop is removed
can anybody verify this is react router v6?
34:00
John appears to be a potato ☠️
Laravel 11
The features used in this course are not from react router dom version 6 , these are the features which are belonged to version 5 , isn't it