Bob Ziroll is the best React instructor that I have come across so far. His teaching styles are unmatched. unlike many other tutorials on youtube that you just follow along, he's tutorial is highly interactive and makes you do much of the work. I took his learn react course in Scrimba, I can proudly say that It is the best react course for beginners. Can't wait to work on this one!. Also shoutout to freecodecamp for finding such individuals and convincing them on offering their services for free.
Best course I have ever taken. The small challenges and the fact that he neither wasted time on CSS nor on making components and taught us Routing was so Fun. Also, he has given access to Figma file, so we can work on CSS skills later. More courses like these.
Bob Ziroll is my favorite instructor whenever i see any course prepared by him i feel like i'm in good hand for getting better knowledge. thanks Bob Ziroll for your react beginner course was real helped me
2:06-lesson 1- for client side routing. 4:55-lesson 2- multi page vs single page app. 10:12--extra local development & GitHub repo. 12:25-L3 react router setup & browser router. 15:40--L4 Routes 5:12:02-- lesson 66 about the createBrowseRouter
This course is usefull for everyone not just the beginners. Since the React Router Dom team is a bunch of trolls who never update their documentation and examples, it's a mess and a waste of time to figure out how to do a proper authentification routing. Ofc this video doesn't cover every cases as you "cheat" using createRoutesFromElement (yes i tried with a pure createBrowserRouter cause i want the object approach and it's painfull) but it's way better than the lack of official documentation. Thank you.
I found the best course taught by the best instructor!!! Thank you so much Bob Ziroll!!!!!! I love your class so much!! Thank you for helping me learning!!
Yes, this is what was needed after React Router was updated to this new version. Thanks FCC and thanks Bob for this amazing course. Now , time to dive in
The Advanced course was on point and i love the way he break everything down to the pieces. It serves as my personal guide in case i get stuck on the field
Pranaam guruji🙇 2 month ago i completed your 12 hour react course it helped me alot to developed my practical skills of react same goes for routerV6. Please do the same with Redux i'm seriously facing alot issues to master the ReduxToolkit.
for anyone who needs it (code below), regarding the Merging search params subject, this utility funciton allows to handle multiple query parameters in a single function, allowing you to create x amount of parameters, AND also adding or removing values from one specific query parameter that holds concatenated data %3, and also mixing together multiple query parms to create a more flexible filter mechanism. Keeping in mind that it's not common to have identical keys with different values, we can just cocatenate that related data in one param and separate it with %3. + other params that achieve other purposes. (this function respects other params existing in the url) You just need to add the event, a queryParameter parameters to the function and pass it to a component onClick attribute (the button in this case must define the attribute name which will provide the value pair for the queryParameter) I HAVE TO SAY THAT I'M LEARNING A LOT, THANK YOU SO MUCH const addQueryParam= (ev, type) =>{ let value = ev.target.name;
Bob ziroll is such a wonderful instructor he made me fall in love with react. Hope he can do a course on react query. He's competent and simplifies things down to to the grain.
this is literally the best course ever i could not thank u guys enough + im really grateful for all the the hard work that u r putting in these courses
I've attended his react course , I can tell for sure that it was the best course of all youtube I could find! it would be perfect to wrap this series with a react native , a redux, and a nextjs course, thanks freecodecamp, you rock.
Why do you think that's a good thing lol? Waste of time, just read the docs. If you need a 9 hour course on react-router instead of reading the docs, there's probably no hope for you as a developer.
@@ZM-dm3jg If you read it, you forget it. If you see it, you will remember it. If you think reading the docs is enough, there's probably no hope for you as a developer
@@ZM-dm3jg I read full documentations. I refer the documentation everytime i get stuck. But its good to have a course taught by a professional on how to structurally use a library. We get to learn new things ✌
Guys trust me on that. Bob Ziroll is definitely one of the best (if not THE best) react teachers on planet earth. This course will be worth it. ( even though we use NextJS and we don't need React Router )
Very awesome course! Loved the instructor and loved how Scrimba works, though I still mostly ran the project locally to get familiar with the dev workflow and to save my code edits for each section separately. I learned an incredible amount of info from this, thank you FCC and Bob!
For anyone that's stuck on the protected routes, the error that you're getting might be because of Mirage JS not being able to play well with react-router version 6.4.5. There's two options to fix this, either downgrade your version or try this hacky code that bob helped me with export async function requireAuth() { const isLoggedIn = false if (!isLoggedIn) { const response = redirect("/login") response.body = true throw response } return null }
Hi, I have a problem here . when the isLoggedIn is set to false it works correctly and redirects me to login page , but when it is set to true , after clicking on Host an error shows up : Unexpected Application Error! You defined a loader for route "0-5-0" but didn't return anything from your `loader` function. Please return a value or `null`. does anybody have the same problem!??
Also i think Bob should do a full course from scratch to the top how to build a full react e-commerce site because some of us love to see it done from a great teacher like Bob and we can do it ourselves
After learning react for beginner's much helpful to me ! Thanks so much to Bob's Ziroll and free code camp community ❤, hope that would interesting too !
Great tutorial the best I have seen but one improvement u can add deesser on your mic sound the sounds like sss and tss are not so sharp and will not cut my ears
Great as usual. Appreciate the update. I hope he makes a video on the new redux tool kit and react 18 new features. Next JS solves most of these routing problems but not every company uses it, and learning next JS becomes much easier if you know how to do this routing manually.
Thank you Freecodecamp, You all put in a lot of work and i appreciate you all big time. You release vids & tuts in line with my learning journey. Respect 🤝
Tnx for ur work. I didn't watch the whole thing, But since you have a separate protected route (branch) (../host/..), why didn't you bring the authorization logic into the parent loader? Are you really going to duplicate the authorization logic into the each loader in all nested routes? What about : ../host/warehouse/add/product/...? await requireAuth(request)} >
Thanks for the awsom video. I'm using router dom v6.11 and have problem redirect host and its child components to login page. It either breakes or does not navigate to login. I already tried useHistory and useNavigate, but have the same issue. Could be that the backend has some problem with this version?
import { redirect } from "react-router" export async function requireAuth() { const isLoggedIn = false if (!isLoggedIn) { const response = redirect("/login") response.body = true throw response } return null } use this... issue is from mirageJS and the latest version of RRD
Question: Seems some UI part we don't need or MUST use route, right? Like /host/vans/:id vansDetail page, bottom 3 tabs, we could use components to show/hide them directly? So how should we tradeoff when it should be route and when it should not.
Let's create a channel that allow all of us here to join one platform and create react project and allow everybody to add their piece to it from ground to fully fletch full working site
Bob Ziroll is just one of the best instructors for React. I did his 12 hour course of React for beginners and I loved it.
12hrs! Beginner?! 💀💀💀💀💀💀💀💀💀💀💀💀
I learned react from him too. he is the best.
@@NobleOsinachi Yes and 13 hours react advanced (including the react router)
@@Arcanist1010where can I find this course ?
yes, me2. he did a great job at that video.
Bob Ziroll you are an excellent teacher. This is absolute freedom from tutorial hell.
For anyone stuck around 6:40:00 requireAuth this fixed it for me:
export async function requireAuth() {
const isLoggedIn = false
if (!isLoggedIn) {
const response = redirect("/login")
response.body = true
throw response
}
return null
}
Thanks 🙏
was breaking my head. Thanks for the help!
Thanks, you saved my time😄😄
thanks a lot. it took me hours but I couldn't solved it.
I get a 'Body is a read-only property' error. I'm developing in typescript. Not sure if that could be a problem!
Bob Ziroll is the best React instructor that I have come across so far. His teaching styles are unmatched. unlike many other tutorials on youtube that you just follow along, he's tutorial is highly interactive and makes you do much of the work. I took his learn react course in Scrimba, I can proudly say that It is the best react course for beginners. Can't wait to work on this one!. Also shoutout to freecodecamp for finding such individuals and convincing them on offering their services for free.
Best course I have ever taken. The small challenges and the fact that he neither wasted time on CSS nor on making components and taught us Routing was so Fun. Also, he has given access to Figma file, so we can work on CSS skills later. More courses like these.
ek number ka coursh hai abhi lagata hai ki ha kisi bhi tarah ka routing kar sakta hu mere tarf se 1000 topo ki salami
Bob Ziroll is my favorite instructor whenever i see any course prepared by him i feel like i'm in good hand for getting better knowledge. thanks Bob Ziroll for your react beginner course was real helped me
2:06-lesson 1- for client side routing.
4:55-lesson 2- multi page vs single page app.
10:12--extra local development & GitHub repo.
12:25-L3 react router setup & browser router.
15:40--L4 Routes
5:12:02-- lesson 66 about the createBrowseRouter
Lmao what did they do 5 hours before? 😂
Can i ask you why is this course 9h length while most of react routers tutorials are 1h or 1h and and half
This course is usefull for everyone not just the beginners. Since the React Router Dom team is a bunch of trolls who never update their documentation and examples, it's a mess and a waste of time to figure out how to do a proper authentification routing. Ofc this video doesn't cover every cases as you "cheat" using createRoutesFromElement (yes i tried with a pure createBrowserRouter cause i want the object approach and it's painfull) but it's way better than the lack of official documentation. Thank you.
I found the best course taught by the best instructor!!! Thank you so much Bob Ziroll!!!!!! I love your class so much!! Thank you for helping me learning!!
The pitch of his voice has already told me that you are going to master react-router... Love you Bob....😍🙏
The way he breaks down the whole topic is just fantastic. Appreciate
Yes, this is what was needed after React Router was updated to this new version. Thanks FCC and thanks Bob for this amazing course. Now , time to dive in
The Advanced course was on point and i love the way he break everything down to the pieces. It serves as my personal guide in case i get stuck on the field
Bob Ziroll is the god of react thanks man
Pranaam guruji🙇 2 month ago i completed your 12 hour react course it helped me alot to developed my practical skills of react same goes for routerV6. Please do the same with Redux i'm seriously facing alot issues to master the ReduxToolkit.
same
for anyone who needs it (code below), regarding the Merging search params subject, this utility funciton allows to handle multiple query parameters in a single function, allowing you to create x amount of parameters, AND also adding or removing values from one specific query parameter that holds concatenated data %3, and also mixing together multiple query parms to create a more flexible filter mechanism. Keeping in mind that it's not common to have identical keys with different values, we can just cocatenate that related data in one param and separate it with %3. + other params that achieve other purposes. (this function respects other params existing in the url)
You just need to add the event, a queryParameter parameters to the function and pass it to a component onClick attribute (the button in this case must define the attribute name which will provide the value pair for the queryParameter)
I HAVE TO SAY THAT I'M LEARNING A LOT, THANK YOU SO MUCH
const addQueryParam= (ev, type) =>{
let value = ev.target.name;
if(searchParams.has(type)){
let param = searchParams.get(type).split(":");
if(param.includes(value)){
let newParams = param.filter(ev => ev !== value);
setsearchParams((prev)=> {
newParams.length===0 ? prev.delete(type) : prev.set(type, newParams.join(":"));
return prev;
})
}else{
setsearchParams((prev) => {
prev.set(type, param.join(":").concat(`:${value}`))
return prev;
} )
}
}else{
setsearchParams((prev) => {prev.append(type, value)
return prev;
});
}
}
For clarity
addQueryParam(e, "filterBy")} >Simple
Bob ziroll is such a wonderful instructor he made me fall in love with react. Hope he can do a course on react query. He's competent and simplifies things down to to the grain.
this is literally the best course ever i could not thank u guys enough + im really grateful for all the the hard work that u r putting in these courses
I've attended his react course , I can tell for sure that it was the best course of all youtube I could find! it would be perfect to wrap this series with a react native , a redux, and a nextjs course, thanks freecodecamp, you rock.
Damn never imagined a freaking 9 hours course on JUST React Router 😮
Kudos to FCC 🔥
Why do you think that's a good thing lol? Waste of time, just read the docs. If you need a 9 hour course on react-router instead of reading the docs, there's probably no hope for you as a developer.
@@ZM-dm3jg If you read it, you forget it. If you see it, you will remember it. If you think reading the docs is enough, there's probably no hope for you as a developer
@@phongphanthanh6878 reading docs is a good practice and is recommended.
@@riturajpathak1905 watching also
@@ZM-dm3jg I read full documentations. I refer the documentation everytime i get stuck. But its good to have a course taught by a professional on how to structurally use a library. We get to learn new things ✌
Bob you should try and do a course on redux because you ae just the best teacher i have ever seen any where in this world
Guys trust me on that.
Bob Ziroll is definitely one of the best (if not THE best) react teachers on planet earth.
This course will be worth it.
( even though we use NextJS and we don't need React Router )
So if u don't need to learn them both?.. U need to learn only next js then?
@@HocineKamikaz there are differences, like with everything. You can use nextjs or react router
I have never seen a best teacher like Bob ZIroll
One of the best tech teacher.
Best react-router course:)
Bob ziroll is a beast i learnt react from his course and cany wait to start this course
Best Video on React Router Dom 😇😇😇😇😇😇😇😇😇😇😇
Guru ji you are the best
Very awesome course! Loved the instructor and loved how Scrimba works, though I still mostly ran the project locally to get familiar with the dev workflow and to save my code edits for each section separately. I learned an incredible amount of info from this, thank you FCC and Bob!
Bob Ziroll, you are a great Master, thank you so much for this exceptional tutorial !!
Bob ziroll is a powerful teacher, incredibly helpful course🙏 would love to see a course like this for react hooks
I love the way that Bob Ziroll Teach great job thank you so muach for making this available for freen see you on scrimba
For anyone that's stuck on the protected routes, the error that you're getting might be because of Mirage JS not being able to play well with react-router version 6.4.5. There's two options to fix this, either downgrade your version or try this hacky code that bob helped me with
export async function requireAuth() {
const isLoggedIn = false
if (!isLoggedIn) {
const response = redirect("/login")
response.body = true
throw response
}
return null
}
Thanks, helped a lot 😊
Hi,
I have a problem here . when the isLoggedIn is set to false it works correctly and redirects me to login page , but when it is set to true , after clicking on Host an error shows up :
Unexpected Application Error!
You defined a loader for route "0-5-0" but didn't return anything from your `loader` function. Please return a value or `null`.
does anybody have the same problem!??
@@JavadMoghaddam-dq9bd you need to return null or function where youre calling your authRequire
thanks buudy, saved my day
Thanks bro, you just saved me days of trying to figure this out.
scrimba and bob ziroll helps me alot !!!!!!!!!!!
thank you Bob Ziroll you did a great job .i love this video you make it easy and Cristal clear .
This guy is too good.... Glued for 2 hours and still counting
thanks for the new knowledge about react-router bob, what a great free course
learning react with bob is amazing ♨♨
I am a simple man, I see bob ziroll teaching a course, I tap on it
He has a brilliant teaching skill ❤. I love his teaching method
Also i think Bob should do a full course from scratch to the top how to build a full react e-commerce site because some of us love to see it done from a great teacher like Bob and we can do it ourselves
2:19:29 I love your teaching methodology, thanks :3 see u at the end of the course
It's almost like you knew I needed this.
This video helped me a lot! Thank you!
We need an exclusive course covers all the hooks please
Great tutorial that i ever watch so far about react router
Awesome course 🔥🔥🔥
My life was never eazy...
But after watching this tutorial
The next one gon' be eazy...
I loved Bob's React course. This will be fun coding allong.
Amazing Course. Thanks!
After learning react for beginner's much helpful to me ! Thanks so much to Bob's Ziroll and free code camp community ❤, hope that would interesting too !
Great tutorial the best I have seen but one improvement u can add deesser on your mic sound the sounds like sss and tss are not so sharp and will not cut my ears
At 8:25:05 are you coding something behind the floating browser? Something broke after this and the github files don't have the finished version.
Great as usual. Appreciate the update. I hope he makes a video on the new redux tool kit and react 18 new features. Next JS solves most of these routing problems but not every company uses it, and learning next JS becomes much easier if you know how to do this routing manually.
I have a problem with redirect(url) function, it doesn't redirect me to the login page.
I completed his react course and I was searching some other courses for Practice, but none of them were as good as his react course
Ignore this:
3:36:55 : when to use query (sharable)
Thank you all information you gave us
Bob Ziroll 🙏
Always incredible 👍👍👍.
thanks a lot for lesson. Would be nice to see to prevent a page reload or route change when the user leaves the page.
This is awesome. I'd love to see a video like this that is dedicated to just React Hooks and then Redux.
Thank you Freecodecamp,
You all put in a lot of work and i appreciate you all big time.
You release vids & tuts in line with my learning journey. Respect 🤝
Awesome instructor!
Tnx for ur work. I didn't watch the whole thing,
But since you have a separate protected route (branch) (../host/..), why didn't you bring the authorization logic into the parent loader?
Are you really going to duplicate the authorization logic into the each loader in all nested routes? What about : ../host/warehouse/add/product/...?
await requireAuth(request)}
>
.....
Thanks a lot for such great course!!!
I am a simple man. I see Bob - I press like.
Wowww amazing long time course.
Thanks
React router I have been waiting for this video
Simply Awesome!
I was looking for a complete React Router v6 course long time ago! Thank you so much!
incredibly helpful. thank you so much for your time !
Thank you so much !!!
plz do more react videos on each topic like this in depth
This was great thank you
Completed!
This is helpful ❤
redirect() is not working when doing in localhost.
Any ideas to fix this
absolute banger!
Best course
Could you make video where you teach “outlet” from react router dom ? Did not find any video about it !
I really like this channel
7:36 my redirect () is not redirecting to host please any with solution shall help me
return window.location.href = '/host';
Try making a fullstack app with Angular as Frontend and Java or Golang as Backend.
Thanks 😊
gys , I have a question , how much time did you spend in this course?
Could you make video where you teach “outlet” from react router dom ? Did not find any video about it
Thank you very much
thank you
Thanks for the awsom video. I'm using router dom v6.11 and have problem redirect host and its child components to login page. It either breakes or does not navigate to login. I already tried useHistory and useNavigate, but have the same issue. Could be that the backend has some problem with this version?
import { redirect } from "react-router"
export async function requireAuth() {
const isLoggedIn = false
if (!isLoggedIn) {
const response = redirect("/login")
response.body = true
throw response
}
return null
} use this... issue is from mirageJS and the latest version of RRD
2:56:00 completed
It's Going well upto first 7:30 hrs. But after it...I pray. When it( basturd ). Will be finish. frequent saw ti
me... over all totally bored.😢
2024, help please why if I refresh the page of "/vans" its giving me:
Error: Unexpected token '
Question: Seems some UI part we don't need or MUST use route, right? Like /host/vans/:id vansDetail page, bottom 3 tabs, we could use components to show/hide them directly? So how should we tradeoff when it should be route and when it should not.
Thank you !
Wow! Amazing!
i don't have 9 hours free. i'll just go and read the documentation
Really. 9-hour course just to learn how to use one library. 12 hours - it's the "Fast AI" machine learning course.
Are you hacker man ! , Whatever I search to learn and you have awesome course on it
Thanks
is not rendering the component to prevent unauthorized usage of the service is a good way to protect the service?
Let's create a channel that allow all of us here to join one platform and create react project and allow everybody to add their piece to it from ground to fully fletch full working site