Protected Routes & Private Routes in React JS with React Router V6 || Role based Routing

Поділитися
Вставка
  • Опубліковано 31 гру 2024

КОМЕНТАРІ • 21

  • @SumitSingh-s2i
    @SumitSingh-s2i 2 місяці тому

    Thanks for this video. I have been searching for this for days and yet couldn't understand how to implement it but thanks to you now I am able to get it.

  • @pratikchakraborty8058
    @pratikchakraborty8058 6 місяців тому +1

    Amazing content brother! 👏

  • @cranticumar9888
    @cranticumar9888 5 місяців тому +1

    wow! amazing. really im learned new thing here.. thanks alot brother..

  • @sumitsinha995
    @sumitsinha995 14 днів тому

    Badiya bhai!

  • @royerrrrutti9903
    @royerrrrutti9903 5 місяців тому +1

    wow, I thought at the beginning of the video that it was with the new api xd

  • @HaAutumn
    @HaAutumn 2 місяці тому

    thank u so muchhh ❤❤❤❤

  • @farisoldie3620
    @farisoldie3620 3 місяці тому

    is this the best practice for private routes and protected routes ?

    • @thedebugarena
      @thedebugarena  3 місяці тому +1

      I will not say it is best practice but you can learn through it and optimize as per your need.

  • @suryapratap3622
    @suryapratap3622 6 місяців тому +1

    Super content

  • @mrjoker3995
    @mrjoker3995 5 місяців тому +1

    Can we fix that little blink ? Bcoz in my application we can read that see page

  • @distractedgamer7
    @distractedgamer7 4 місяці тому +1

    so good vidro bro

  • @mr.RAND5584
    @mr.RAND5584 4 місяці тому

    The user client has access to localstorage. Sad security.

  • @MdJahid-o9c
    @MdJahid-o9c 4 місяці тому

    Thanks ❤❤

  • @anshumaan454
    @anshumaan454 6 місяців тому

    hi brother, I am watching your video in continuation, can you pls also explain user and admin login using firebase. It will be great help

    • @thedebugarena
      @thedebugarena  6 місяців тому +1

      I have created a video on How to login as admin but in that I have used Node JS and Mongo Db. If you want you can refer that video and apply that logic here it is pretty simple. ua-cam.com/video/SZXZRRZML2g/v-deo.html

    • @anshumaan454
      @anshumaan454 6 місяців тому

      @@thedebugarena thanks brother

  • @dharun_rocker_official
    @dharun_rocker_official 19 днів тому

    Please, this is not the right way to use authentication or local storage either, anyone can edit the local storage value and access private routes