React Router Tutorial - 15 - Authentication and Protected Routes

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2022
  • 📘 Courses - learn.codevolution.dev/
    💖 Support UPI - support.codevolution.dev/
    💖 Support PayPal - www.paypal.me/Codevolution
    💾 Github - github.com/gopinav
    ⚡️ Checkout Taskade! www.taskade.com/
    To upgrade any workspace, login and visit www.taskade.com/billing
    Use coupon code: CodevolutionTH-cam for any workspace upgrade. Select "Add promo code" on checkout, enter the code, then hit "Apply". This will apply a 100% one year subscription discount. Enjoy and feel free to invite others to your workspace!
    📱 Follow Codevolution
    + Twitter - / codevolutionweb
    + Facebook - / codevolutionweb
    📫 Business - codevolution.business@gmail.com
    Authentication and Protected Routes in React Router
    React Router Tutorial
    React Router Tutorial for Beginners

ความคิดเห็น • 187

  • @masvimydeen249
    @masvimydeen249 ปีที่แล้ว +5

    You are an awesome instructor. Breaking things simpler to understand is your real magic. Lovely tone, frequency and consistent voice delivery is also a reason, things the you explained in your video are getting easily registered. Keep rocking in this space.

  • @kumarsaroj18
    @kumarsaroj18 ปีที่แล้ว +9

    I am happy to share that I finished this series in one whole day (of course, I did write code side by side).
    Although, I am still clueless on few router related things used in my project, but this is undoubtedly a good tutorial)

  • @bassam.2023
    @bassam.2023 ปีที่แล้ว +24

    There are so many tutorials that I've started and never finished. However, I always complete Vishwas' tutorials. He stays on point!
    Tutorial Grand Master right here!
    Thank you!!!!😁

  • @dhruv.pandey93
    @dhruv.pandey93 2 ปีที่แล้ว +12

    The most informative series on React Router Dom and that too latest version v6. Covers minor but important details like useLocation, and useSearchParams. Great playlist as expected!!

  • @rishabhsharma6084
    @rishabhsharma6084 2 ปีที่แล้ว +17

    what a coincidence.. I was implementing protected routing in my new project🤘🤘😁

  • @nargeshaeri7028
    @nargeshaeri7028 ปีที่แล้ว

    Thank you so much for explaining everything so clearly and in details. I really do not know how to express my gratitude. I have watched a lot of your tutorials and I found them really helpful. I wish you the best.

  • @bijaysahoo9619
    @bijaysahoo9619 3 หลายเดือนก่อน

    Couldn't ask for a better tutorial. You are a GEM. Each aspect is crisp and clear. Even a paid course is no match for this. Thank you very much. Looking forward to each of the tutorial series.

  • @googlemani
    @googlemani ปีที่แล้ว +1

    Thanks Viswas. Another great series in React Ecosystem. Exercises are small enough to focus more on the Router aspects. Well explained. Great Work 👏

  • @BruceWayne-kw6xm
    @BruceWayne-kw6xm 6 หลายเดือนก่อน +1

    This Channel is a Gold Mine.. i have learnt node , next js , react from it and every course was awesome

  • @wisdomelue
    @wisdomelue 2 ปีที่แล้ว

    this video is so awesome, loved the fact that you used the context API, thank you.

  • @thucle4122
    @thucle4122 ปีที่แล้ว +3

    Thank you Sir Vishwas, i coded along with you and found it really easy to grasp the basic concepts of React Router V6 whose documentation is not quite understandable. Wish you health and prosperity.

  • @lakshaysingh1866
    @lakshaysingh1866 2 ปีที่แล้ว +1

    Watched the complete course in one day...thanx buddy!☺

  • @deiwman4604
    @deiwman4604 5 หลายเดือนก่อน +1

    You made this whole section so simple to understand and to follow. I bought a course on udemy and the teaching way of the teacher it's not even close to yours. Thank you a lot!

  • @alokranjan476
    @alokranjan476 ปีที่แล้ว

    Thanks a lot for whole series.
    You explained it really well in easy to understand language with appropriate example.
    Request to post such series in future.

  • @squeezy99
    @squeezy99 ปีที่แล้ว

    What a super series of videos - helped me enormously with a routing problem I had. Thanks for posting.

  • @learnkidsonline9732
    @learnkidsonline9732 2 ปีที่แล้ว +1

    Best teacher! Simple examples! Best Tutorials!

  • @vickymanora985
    @vickymanora985 ปีที่แล้ว +1

    i highly recommend to watch this

  • @mehdihosseinpour3351
    @mehdihosseinpour3351 2 ปีที่แล้ว +5

    Great. It is the best video I've ever seen for protected route. I think you can improve it with adding multi role authorization as well as JWT authentication to it.

  • @isaacjon
    @isaacjon 2 ปีที่แล้ว +1

    didnt understand a lot, but anyways so far i learned so much with your help, just commented this because i wanted you not to stop anytime from this kind of tutorials, but i would like to see tutorial about tutorial hell from you

  • @eniolabakare5100
    @eniolabakare5100 ปีที่แล้ว

    Amazing tutorial series, as always. Thank you, Vishwas

  • @kaempy
    @kaempy ปีที่แล้ว

    Wow thanks so much Vishwas your content are always easy to understand and rich 🙏

  • @revo572
    @revo572 2 ปีที่แล้ว

    Thank you for giving such a quality content for free

  • @wilwazka2957
    @wilwazka2957 ปีที่แล้ว

    Powerful and yet so easy to understand. Thank you a lot.

  • @akashvenu359
    @akashvenu359 7 หลายเดือนก่อน

    Thank you for explaining so elaborately.. this will definitely help me with my interviews

  • @incognito_2512
    @incognito_2512 ปีที่แล้ว

    thank you so much. your turorials are most easy to understand

  • @alexuqt
    @alexuqt ปีที่แล้ว

    Wow I just finished watching the 15 videos and is this really is so good

  • @es7729
    @es7729 4 หลายเดือนก่อน

    It was an awesome playlist! Thank you!

  • @mrnabby4178
    @mrnabby4178 ปีที่แล้ว

    Finally a proper and right video. Thank you sir.

  • @frontend_ko
    @frontend_ko ปีที่แล้ว

    The best teacher, thank you!

  • @benarcher372
    @benarcher372 2 ปีที่แล้ว

    Thank you so much for these valuable videos!

  • @musiclovers8488
    @musiclovers8488 2 ปีที่แล้ว +1

    hey Vishawas.. Thanks for these videos. Really appreciable work... you are best.

  • @dyg6945
    @dyg6945 ปีที่แล้ว

    Thanks for these videos! That were simple and perfect!

  • @ashutoshranjan4644
    @ashutoshranjan4644 ปีที่แล้ว

    It was 🤯. I explored different dimensions of react router dom.
    React is really powerful!!!

  • @ravikantchauhan2106
    @ravikantchauhan2106 ปีที่แล้ว

    Really helpful tutorial. bole to ek dam Jhakkas 😎

  • @lvhz
    @lvhz 8 หลายเดือนก่อน

    Excellent series. Thank you!

  • @Raul-si7bn
    @Raul-si7bn 2 ปีที่แล้ว +1

    this series is just a (huge) hidden gem. No others series I've seen are this through, and with very good examples. That about React Router V6, but also, the style in general , the easy approach...i've seen many tutorials, since I am always looking for good and updated examples, and I can safely say, this is one of the best I've come across ..
    Keep up the good work!
    Implement Context , explain Redux (with toolkit maybe), firebase, firestore ...then MERN ..waiting for all of those! :D

  • @rachidb9624
    @rachidb9624 2 ปีที่แล้ว

    Thank you very much for this tutorial, was very helpful !

  • @javeedakhter324
    @javeedakhter324 2 ปีที่แล้ว +1

    Hi Vishwas,you videos are awesome you are doing a great job we also want your tutorials on webpack,gulp and other similar tools which help to avoid repetitive task in development and production. Thank you .

  • @hemonterroddur6948
    @hemonterroddur6948 ปีที่แล้ว

    Thank you so much for this wonderful tutorial. It helps me a lot.

  • @kwwong1834
    @kwwong1834 ปีที่แล้ว

    Thanks Viswas, really great content!

  • @rajasankar1390
    @rajasankar1390 ปีที่แล้ว

    Amazing Tutorials. All the videos are Gem. Thank You

  • @eleah2665
    @eleah2665 2 ปีที่แล้ว

    You have not disappointed me!

  • @macdonaldmanana1358
    @macdonaldmanana1358 วันที่ผ่านมา

    Amazing work, thanks!

  • @alik64
    @alik64 2 ปีที่แล้ว

    Thank for this playlist! 🙌 very helpfull !

  • @dandantin
    @dandantin 11 หลายเดือนก่อน

    Thank you for this video! Congratulations my friend!

  • @reginaldamedee7433
    @reginaldamedee7433 2 ปีที่แล้ว

    Thank you for this lesson! liked & subscribed!

  • @danielnicholas1747
    @danielnicholas1747 2 ปีที่แล้ว

    thank you very much for this series

  • @shaantalk
    @shaantalk 2 ปีที่แล้ว

    Great work Vishwas

  • @vino7tech
    @vino7tech 11 หลายเดือนก่อน

    Thank you very much sir for wonder React Router Tutorial. The best Complete React js Tutorial TH-cam channel

  • @ProgramingWithSaman
    @ProgramingWithSaman 2 ปีที่แล้ว

    thank you dear vishwas ...you are an awesome dude

  • @muhammadzeeshan07
    @muhammadzeeshan07 6 วันที่ผ่านมา

    A very important and well explained video Thanks bro

  • @dhokiarinidh9809
    @dhokiarinidh9809 11 หลายเดือนก่อน

    Thank you so much, very informative videos

  • @vigneshwarvenugopal922
    @vigneshwarvenugopal922 10 หลายเดือนก่อน

    Thank you so much for your effort sir....i really gained more knowledge on and about ReactJs and now i can fearless develop the
    project on it....Once again ....Thank you So Much....

  • @jaybeatz8084
    @jaybeatz8084 11 หลายเดือนก่อน

    bro, thanks! you explained it clear

  • @user-tf1sy2lc9t
    @user-tf1sy2lc9t 7 หลายเดือนก่อน

    proper and right way to understood

  • @youssef-attai
    @youssef-attai ปีที่แล้ว

    Thank you so much, that was really helpful.

  • @rayusaki88
    @rayusaki88 2 ปีที่แล้ว

    Thank you very much! Very helpful!

  • @FrankieMendoza
    @FrankieMendoza ปีที่แล้ว

    Thank you for this tutorial.

  • @fpsstupor
    @fpsstupor ปีที่แล้ว

    thanks for this series

  • @_roob
    @_roob 2 ปีที่แล้ว

    thanks for the tutorial, you are amazing!

  • @jacobwwarner
    @jacobwwarner ปีที่แล้ว

    I was able to get something that worked using this technique with a Redux store. Thanks

  • @amiiko232
    @amiiko232 4 หลายเดือนก่อน

    i love you bro you saved my life

  • @bindassingh9281
    @bindassingh9281 2 ปีที่แล้ว

    Bahut shandar, gajab.

  • @Noone-lh5rv
    @Noone-lh5rv ปีที่แล้ว

    finally, someone teach me about React properly

  • @saurabrakshit405
    @saurabrakshit405 2 ปีที่แล้ว +2

    Yes you have not disappointed any one ! Very well structured tutorial for React Router Library.
    But I want to mention I would be pleased if you have taught the Authenticated Routing with Username & Password Authentication.

    • @paritosh3702
      @paritosh3702 2 ปีที่แล้ว +1

      It's very similar to this, a bit complex though but the flow is same

    • @VivekThakur-sf9pr
      @VivekThakur-sf9pr 2 ปีที่แล้ว

      For demo purpose we can set the user and password and during login we can check with if condition that whether its correct or not, if its correct match than proceed to navigate where u can.

  • @gopalakrishnanshanmugam7236
    @gopalakrishnanshanmugam7236 ปีที่แล้ว

    Great Sir Thank you. Very helpfull tutorial

  • @datkumar1024
    @datkumar1024 2 ปีที่แล้ว

    Thanks a ton brother!!💯💯💯

  • @arunkb6452
    @arunkb6452 2 ปีที่แล้ว +1

    Ohh Buddy... Timing completed previous videos just now... ❤❤❤❤❤

  • @nageshgandikota2948
    @nageshgandikota2948 2 ปีที่แล้ว

    Explanation was clear and helpfull

  • @jasono873
    @jasono873 7 หลายเดือนก่อน +1

    Big big Thank you 🙏

  • @S4sent
    @S4sent 2 ปีที่แล้ว

    Guru ji 🙏🙏🙏 awesome content 😍😍

  • @MrNoeLeiva
    @MrNoeLeiva ปีที่แล้ว

    amazing tutorial man

  • @christianlombardo14
    @christianlombardo14 2 ปีที่แล้ว

    Thank you for there great videos.

  • @kashifumar4552
    @kashifumar4552 2 ปีที่แล้ว

    Till now the best one. Plz maintain this

  • @benyamin4634
    @benyamin4634 2 ปีที่แล้ว

    thanks for the course dear

  • @camilleivantoloum-doumde1867
    @camilleivantoloum-doumde1867 ปีที่แล้ว

    just amazing thanks a lot

  • @Raul-si7bn
    @Raul-si7bn 2 ปีที่แล้ว +2

    Thanks!

  • @rajadastidar3765
    @rajadastidar3765 ปีที่แล้ว

    bro you are a very good developer

  • @krishnareddyyerram4615
    @krishnareddyyerram4615 ปีที่แล้ว

    Thanks Viswas!

  • @iamkashyapkumar
    @iamkashyapkumar ปีที่แล้ว

    Thanks man!

  • @mehdi_salimi
    @mehdi_salimi ปีที่แล้ว

    that was amazing .thanks

  • @aabramek
    @aabramek ปีที่แล้ว

    well done, thanks

  • @user-sc6dy3kj9w
    @user-sc6dy3kj9w 2 ปีที่แล้ว

    excellent tutorial.

  • @labaikyahussain5786
    @labaikyahussain5786 ปีที่แล้ว

    thanks buddy. nice way

  • @winterwowl
    @winterwowl ปีที่แล้ว +1

    thank you

  • @Mohamed_Yousef2024
    @Mohamed_Yousef2024 ปีที่แล้ว +1

    Thanks alot

  • @nishantnimish7825
    @nishantnimish7825 ปีที่แล้ว

    Thank you

  • @pankajsuryavanshi8332
    @pankajsuryavanshi8332 ปีที่แล้ว +1

    Let say we have params route like /product/:id how to protect this if product id is not present it will return empty structure.we have to throw error in this case

  • @Canballeros
    @Canballeros 2 ปีที่แล้ว

    Many thanks for the great tutorial!
    Strangely, there is always a logout when I navigate between the pages. Does anyone know what this is?

  • @arjun.k.s1829
    @arjun.k.s1829 6 หลายเดือนก่อน

    Thanks ❤

  • @rakesh6311
    @rakesh6311 2 ปีที่แล้ว

    Thank you!!

  • @chaddwick25
    @chaddwick25 2 ปีที่แล้ว

    What is someone navigates to the login page via url in the address-bar ? Does replace in the navigation fix that usecase ?

  • @deniserodriguez3233
    @deniserodriguez3233 ปีที่แล้ว +3

    So from my understanding, navigate() should only be called inside a trigger action or inside a useEffect. Otherwise you get an error on the console telling you that you need to call navigate() inside React.useEffect().
    However, I didn’t get this error when I used .
    So I guess that is the only difference between using navigate(‘/login’); over .

  • @TheDEMMX
    @TheDEMMX 8 หลายเดือนก่อน

    Thank you
    Is there a repo with this code at the end of the course?
    The one on gihub only the first lesson

  • @jimmy4262
    @jimmy4262 2 ปีที่แล้ว

    When I try to browse the Login page I get this error: "Error: useNavigate() may be used only in the context of a component."

  • @shivangidimri4639
    @shivangidimri4639 2 ปีที่แล้ว

    Why are you using navigate() in one place and component in the other ? What is the difference?

  • @matteonanni9347
    @matteonanni9347 2 ปีที่แล้ว

    awesome video !! quick qestion if i want to check the login and password to a backend api and get a response would i do it in auth.js ?

  • @HassanCodeLife
    @HassanCodeLife ปีที่แล้ว

    nice video appreciate buddy

  • @sdm634
    @sdm634 ปีที่แล้ว

    Is there a way to prevent the login page from rendering after the user login? If type the path to login in browser the page appears

  • @ashwini4683
    @ashwini4683 ปีที่แล้ว

    thankyou bhai