Protected Routes in React using React Router
Nick Karnik

Nick Karnik @theoutlander

Joined:
Oct 18, 2017

Protected Routes in React using React Router

Publish Date: Oct 16 '18
42 6

In this video, we will learn to create a protected route using React Router. This route is accessible only when the user is logged in.

Link to CodeSandbox
Link to Video on Youtube


If this video was helpful, ❤️ it and subscribe to my YouTube channel.


Comments 6 total

  • jan paul
    jan paulOct 17, 2018

    Pretty solid and understandable. i watched it on 1.25 x speed, but i know react-router already. 10/10 would watch again ;-)

    • Nick Karnik
      Nick KarnikOct 17, 2018

      Thanks, @janpauldahlke , for the feedback!

      I agree that watching at faster speeds is a good idea if you know react-router. I've been speaking slowly since users can always speed it up. I watched it at 2x and still found it a bit slow for my taste 😱.

  • reactuser02
    reactuser02Oct 17, 2018

    Thanks for the interesting video.

  • Alexandru Robert
    Alexandru RobertOct 18, 2018

    Well done!

  • Patrick Bradshaw
    Patrick BradshawNov 25, 2019

    This is a gem, thank you

  • Gimnath Perera
    Gimnath PereraFeb 20, 2020

    Very helpful. Keep up the good work

Add comment