Protected Routes in React using React Router
Channel:
Subscribers:
10,700,000
Published on ● Video Link: https://www.youtube.com/watch?v=Y0-qdp-XBJg
In this video, we will create a protected route using React Router. This route is accessible only when the user is logged in.
Link to CodeSandbox: https://codesandbox.io/s/ol6z72kjy9
Tutorial from Nick Karnik. Check out his YouTube channel: https://www.youtube.com/channel/UClCm-WAOgN6XLwCpefSVezg
Nick on Twitter: https://twitter.com/theoutlander
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://medium.freecodecamp.org
Other Videos By freeCodeCamp.org
Tags:
react
react-router-dom
react router 4
authentication
javascript
es6
react tutorial
tutorial
react app
auth
auth tutorial
javascript tutorial
webdev
app development
lesson
try javascript
js tutorial
js
reactjs
learning
programming
programming tutorial
reactjs tutorial