React Router 6 - Full Course

Sdílet
Vložit

Komentáře • 303

  • @Mr_Brian
    @Mr_Brian Před rokem +121

    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.

    • @NobleOsinachi
      @NobleOsinachi Před 10 měsíci +3

      12hrs! Beginner?! 💀💀💀💀💀💀💀💀💀💀💀💀

    • @nada125love
      @nada125love Před 10 měsíci +1

      I learned react from him too. he is the best.

    • @Arcanist1010
      @Arcanist1010 Před 10 měsíci +5

      @@NobleOsinachi Yes and 13 hours react advanced (including the react router)

    • @dooistyping158
      @dooistyping158 Před 10 měsíci +3

      ​@@Arcanist1010where can I find this course ?

    • @harmez7
      @harmez7 Před 9 měsíci

      yes, me2. he did a great job at that video.

  • @siddhantjain490
    @siddhantjain490 Před měsícem +2

    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.

  • @jeyfason417
    @jeyfason417 Před 11 měsíci +7

    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

  • @njiahtata2267
    @njiahtata2267 Před 3 měsíci +3

    Bob Ziroll you are an excellent teacher. This is absolute freedom from tutorial hell.

  • @prathameshlakhpati9970
    @prathameshlakhpati9970 Před 11 měsíci +1

    The way he breaks down the whole topic is just fantastic. Appreciate

  • @wenatairs6629
    @wenatairs6629 Před rokem +14

    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

  • @Sara-rg2wq
    @Sara-rg2wq Před 11 měsíci +6

    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

  • @selahadinjemal7138
    @selahadinjemal7138 Před rokem +15

    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.

  • @jacktorres5871
    @jacktorres5871 Před 8 měsíci +6

    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!

  • @lisalee7946
    @lisalee7946 Před 3 měsíci +1

    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!!

  • @sahaneakanayaka3394
    @sahaneakanayaka3394 Před rokem +2

    The pitch of his voice has already told me that you are going to master react-router... Love you Bob....😍🙏

  • @TechStat382
    @TechStat382 Před rokem

    I have never seen a best teacher like Bob ZIroll

  • @hasanhafiz
    @hasanhafiz Před rokem

    He has a brilliant teaching skill ❤. I love his teaching method

  • @Neil_09
    @Neil_09 Před 4 měsíci

    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.

  • @user-qe3fs4ul9y
    @user-qe3fs4ul9y Před 5 měsíci

    Bob ziroll is a powerful teacher, incredibly helpful course🙏 would love to see a course like this for react hooks

  • @gabrielgomesmabiala6707
    @gabrielgomesmabiala6707 Před rokem +4

    I love the way that Bob Ziroll Teach great job thank you so muach for making this available for freen see you on scrimba

  • @TheFuneralmask
    @TheFuneralmask Před 10 měsíci +22

    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
    }

    • @prashlovessamosa
      @prashlovessamosa Před 10 měsíci

      Thanks 🙏

    • @manjosh1990
      @manjosh1990 Před 10 měsíci

      was breaking my head. Thanks for the help!

    • @MuhammadAbbas-bd4kg
      @MuhammadAbbas-bd4kg Před 10 měsíci

      Thanks, you saved my time😄😄

    • @lnghs
      @lnghs Před 8 měsíci +1

      thanks a lot. it took me hours but I couldn't solved it.

    • @abd.alharbi
      @abd.alharbi Před 7 měsíci

      I get a 'Body is a read-only property' error. I'm developing in typescript. Not sure if that could be a problem!

  • @itspawanpoudel
    @itspawanpoudel Před rokem +2

    I already know react router v6, but I am just here to hear bob ziroll voice. His voice is just perfect

  • @GilbertoMadeira83
    @GilbertoMadeira83 Před rokem +19

    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.

  • @digitalchannel7651
    @digitalchannel7651 Před rokem

    One of the best tech teacher.

  • @kimsoyoung1257
    @kimsoyoung1257 Před 10 měsíci

    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 !

  • @adeebogaili2111
    @adeebogaili2111 Před rokem

    I loved Bob's React course. This will be fun coding allong.

  • @user-ge5kw1cl3k
    @user-ge5kw1cl3k Před rokem

    Great tutorial that i ever watch so far about react router

  • @emersontavera9362
    @emersontavera9362 Před 10 měsíci

    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

  • @Dakren12
    @Dakren12 Před rokem

    It's almost like you knew I needed this.

  • @oliverye55
    @oliverye55 Před rokem

    incredibly helpful. thank you so much for your time !

  • @rohitkumarkhatri2203
    @rohitkumarkhatri2203 Před rokem

    Amazing Course. Thanks!

  • @capchipcup
    @capchipcup Před 7 měsíci

    thanks for the new knowledge about react-router bob, what a great free course

  • @kushalshukla444
    @kushalshukla444 Před rokem

    scrimba and bob ziroll helps me alot !!!!!!!!!!!

  • @edward_cullen.07
    @edward_cullen.07 Před rokem +2

    Always incredible 👍👍👍.

  • @user-qs1by9fl1i
    @user-qs1by9fl1i Před 5 měsíci

    Bob ziroll is a beast i learnt react from his course and cany wait to start this course

  • @exe.m1dn1ght
    @exe.m1dn1ght Před 3 měsíci

    Bob Ziroll, you are a great Master, thank you so much for this exceptional tutorial !!

  • @uchihamadara4340
    @uchihamadara4340 Před 4 měsíci

    thank you Bob Ziroll you did a great job .i love this video you make it easy and Cristal clear .

  • @Kholturaev06
    @Kholturaev06 Před rokem

    Thanks a lot for such great course!!!

  • @danielsegura6594
    @danielsegura6594 Před rokem +3

    I was looking for a complete React Router v6 course long time ago! Thank you so much!

  • @aerofred2002
    @aerofred2002 Před 8 měsíci

    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.

  • @onealombu1554
    @onealombu1554 Před rokem +1

    This is awesome. I'd love to see a video like this that is dedicated to just React Hooks and then Redux.

  • @TheTop-si5fo
    @TheTop-si5fo Před rokem

    Awesome instructor!

  • @IAmJailan
    @IAmJailan Před 11 měsíci

    learning react with bob is amazing ♨♨

  • @tusharghildiyal6814
    @tusharghildiyal6814 Před rokem +15

    Damn never imagined a freaking 9 hours course on JUST React Router 😮
    Kudos to FCC 🔥

    • @ZM-dm3jg
      @ZM-dm3jg Před rokem +14

      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.

    • @phongphanthanh6878
      @phongphanthanh6878 Před rokem +5

      @@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

    • @riturajpathak1905
      @riturajpathak1905 Před rokem

      ​@@phongphanthanh6878 reading docs is a good practice and is recommended.

    • @phongphanthanh6878
      @phongphanthanh6878 Před rokem

      @@riturajpathak1905 watching also

    • @tusharghildiyal6814
      @tusharghildiyal6814 Před rokem

      @@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 ✌

  • @maklonfr9410
    @maklonfr9410 Před rokem

    Wowww amazing long time course.
    Thanks

  • @atsgames807
    @atsgames807 Před 7 měsíci +1

    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

  • @nigistbinyam9859
    @nigistbinyam9859 Před rokem

    Thank you all information you gave us

  • @qwertymegaforce9088
    @qwertymegaforce9088 Před 5 měsíci

    This video helped me a lot! Thank you!

  • @phanikishanyt
    @phanikishanyt Před rokem +4

    We need an exclusive course covers all the hooks please

  • @mahendranath2504
    @mahendranath2504 Před rokem +1

    Thank you so much for such an amazing constant 👌👍🤝🤛👏🤲👐✌️🙏

  • @thehelldesk5463
    @thehelldesk5463 Před 3 měsíci +1

    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.

  • @joshuastories
    @joshuastories Před rokem

    This was great thank you

  • @emersontavera9362
    @emersontavera9362 Před 10 měsíci

    2:19:29 I love your teaching methodology, thanks :3 see u at the end of the course

  • @mentanagavenkatasrinivas9245
    @mentanagavenkatasrinivas9245 Před 10 měsíci

    Simply Awesome!

  • @shamstabrez2986
    @shamstabrez2986 Před rokem

    plz do more react videos on each topic like this in depth

  • @GabriGG229
    @GabriGG229 Před 4 měsíci

    Awesome course 🔥🔥🔥

  • @anubhavgupta4917
    @anubhavgupta4917 Před 6 měsíci +1

    Best Video on React Router Dom 😇😇😇😇😇😇😇😇😇😇😇
    Guru ji you are the best

  • @favourz1
    @favourz1 Před rokem +6

    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 🤝

  • @Tr1ckyP1cky
    @Tr1ckyP1cky Před rokem +14

    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
    }

    • @antihero8
      @antihero8 Před rokem +1

      Thanks, helped a lot 😊

    • @JavadMoghaddam-dq9bd
      @JavadMoghaddam-dq9bd Před rokem

      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!??

    • @Tr1ckyP1cky
      @Tr1ckyP1cky Před rokem +1

      @@JavadMoghaddam-dq9bd you need to return null or function where youre calling your authRequire

    • @abhishekkumarsingh2387
      @abhishekkumarsingh2387 Před rokem +1

      thanks buudy, saved my day

    • @uchepeter949
      @uchepeter949 Před 11 měsíci +1

      Thanks bro, you just saved me days of trying to figure this out.

  • @_rachid
    @_rachid Před rokem

    Thank you !

  • @mrmae99
    @mrmae99 Před rokem

    I really like this channel

  • @jaymahakaal5354
    @jaymahakaal5354 Před rokem +6

    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.

  • @KrishnaKumar-qx1mk
    @KrishnaKumar-qx1mk Před rokem

    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

  • @kasukurthignanu
    @kasukurthignanu Před rokem

    React router I have been waiting for this video

  • @JustSkillGG
    @JustSkillGG Před rokem +8

    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 )

    • @HocineKamikaz
      @HocineKamikaz Před rokem

      So if u don't need to learn them both?.. U need to learn only next js then?

    • @BiMiHi
      @BiMiHi Před 6 měsíci

      @@HocineKamikaz there are differences, like with everything. You can use nextjs or react router

  • @alexanderkomanov4151
    @alexanderkomanov4151 Před rokem

    Wow! Amazing!

  • @schaun7446
    @schaun7446 Před 10 měsíci

    absolute banger!

  • @AayushPoudel-ep7gy
    @AayushPoudel-ep7gy Před rokem +1

    thank you

  • @yevhenlysenko7444
    @yevhenlysenko7444 Před rokem +1

    thanks a lot for lesson. Would be nice to see to prevent a page reload or route change when the user leaves the page.

  • @vinaykumarkharwar177
    @vinaykumarkharwar177 Před 3 měsíci

    Completed!

  • @programmingcoding
    @programmingcoding Před rokem

    Thanks

  • @toleenhajkassem6154
    @toleenhajkassem6154 Před 5 měsíci

    Thank you so much !!!

  • @karimzz7843
    @karimzz7843 Před 3 měsíci

    Thank you very much

  • @ahmedwael3919
    @ahmedwael3919 Před rokem +4

    I have a problem with redirect(url) function, it doesn't redirect me to the login page.

  • @temitopeabiodun71
    @temitopeabiodun71 Před 6 měsíci

    This guy is too good.... Glued for 2 hours and still counting

  • @a1x5h04
    @a1x5h04 Před rokem

    I am a simple man, I see bob ziroll teaching a course, I tap on it

  • @lorigonzalez4324
    @lorigonzalez4324 Před 19 dny

    I have mastered the react full and i tell you i am comfortable building react full e-commerce sites

  • @not_amanullah
    @not_amanullah Před 2 měsíci

    This is helpful ❤

  • @sohaibshaikh5534
    @sohaibshaikh5534 Před 9 měsíci

    Best course

  • @bishnudev1760
    @bishnudev1760 Před rokem +2

    Try making a fullstack app with Angular as Frontend and Java or Golang as Backend.
    Thanks 😊

  • @havefun5519
    @havefun5519 Před 10 měsíci

    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.

  • @nikmat
    @nikmat Před 10 měsíci

    Bob Ziroll 🙏

  • @lorigonzalez4324
    @lorigonzalez4324 Před 19 dny

    You are the best in the world and will like you to do React-native full course from zero to Hirable similar to the react course

  • @OneBit01
    @OneBit01 Před rokem

    Great 👍

  • @jimhapper7245
    @jimhapper7245 Před 11 měsíci

    Is there an advantage/problem with using React Hook Form together with (or instead of) the Form component from React Router?

  • @santiagoquintero1350
    @santiagoquintero1350 Před rokem +1

    gys , I have a question , how much time did you spend in this course?

  • @kamilkacer7069
    @kamilkacer7069 Před 6 měsíci +1

    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

  • @jimshtepa5423
    @jimshtepa5423 Před rokem

    is not rendering the component to prevent unauthorized usage of the service is a good way to protect the service?

  • @rafidhoda
    @rafidhoda Před rokem

    Woooo 🎉🥳🔥

  • @sajalgupta2204
    @sajalgupta2204 Před rokem +6

    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

    • @Impulse.V
      @Impulse.V Před rokem +2

      Lmao what did they do 5 hours before? 😂

    • @HocineKamikaz
      @HocineKamikaz Před rokem +1

      Can i ask you why is this course 9h length while most of react routers tutorials are 1h or 1h and and half

  • @murtuzafatah762
    @murtuzafatah762 Před rokem

    Are you hacker man ! , Whatever I search to learn and you have awesome course on it

  • @RealUniquee
    @RealUniquee Před rokem +2

    redirect() is not working when doing in localhost.
    Any ideas to fix this

  • @abhishektrivedi2054
    @abhishektrivedi2054 Před 9 měsíci

    What is the alternative way of using prompt in react-router-
    dom since it's no more available on version 6.15?

  • @lakshmichaitanya1316
    @lakshmichaitanya1316 Před rokem

    Will there be any course on mern stack on the future?

  • @sazk4000
    @sazk4000 Před rokem +7

    i don't have 9 hours free. i'll just go and read the documentation

    • @MrDima123123
      @MrDima123123 Před 10 měsíci

      Really. 9-hour course just to learn how to use one library. 12 hours - it's the "Fast AI" machine learning course.

  • @ronaldpaek
    @ronaldpaek Před 8 měsíci

    I have a question if u have a async fetch function that u return await res.json() do you need to await it when u call it in the loader? Shouldn't it be resolved?

  • @O1L2E3G
    @O1L2E3G Před 3 měsíci +1

    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)}
    >

    .....

  • @TheRuNNeRs22
    @TheRuNNeRs22 Před rokem

    I can' t deploy the finished project at netlify. I took the code from the last scrim, pushed it with git, but I get an error. [vite]: Rollup failed to resolve import "react-icons/bs" from "/opt/build/repo/pages/Host/Dashboard.jsx".
    12:16:32 PM: This is most likely unintended because it can break your application at runtime.

  • @user-cv2cd8wh9r
    @user-cv2cd8wh9r Před rokem +2

    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?

    • @abdulhakeemakinola9895
      @abdulhakeemakinola9895 Před 11 měsíci

      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

  • @dieguin5493
    @dieguin5493 Před rokem +3

    is it still worth learning to code when it exists already AI like chatGTP? It is not sarcasm, on the contrary, it is a serious question.

  • @forellko8600
    @forellko8600 Před rokem

    cool!

  • @amranimohamad4741
    @amranimohamad4741 Před rokem +1

    please there is an issue when cloning the repo to get the assets , It tells me that its been deleted
    with `git status`

  • @marrytushsky4652
    @marrytushsky4652 Před rokem

    Bob 💫🙇

  • @muky_albany
    @muky_albany Před 7 měsíci +2

    7:36 my redirect () is not redirecting to host please any with solution shall help me

    • @makislaspas
      @makislaspas Před 3 měsíci

      return window.location.href = '/host';