---
title: "Discussion on \"Protected Routes in React Router v6\" | Hashnode"
description: "Discussion on \"Protected Routes in React Router v6\". Two simple ways to set up private routes in your react project"
url: "https://hashnode.com/posts/protected-routes-in-react-router-v6/636d4d519962aec1e1a5eeea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Protected Routes in React Router v6](https://saje.hashnode.dev/protected-routes-in-react-router-v6?utm_source=hashnode&utm_medium=feed)

Two simple ways to set up private routes in your react project

Nov 10, 2022 · 5 min read · saje.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-router](https://hashnode.com/tag/react-router)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Paul Saje](https://hashnode.com/@Saje)

@Saje · Nigeria

  
[View profile](https://hashnode.com/@Saje)

React/JS developer

I'm a front-end React/JS developer. I share tips and tricks I learn every day on my journey to becoming a better developer.

## Responses 1

Markdown supported · ⌘↵ to post

[Samuel Jarvis Adeyemi](https://hashnode.com/@Jarvis147)

[Nov 11, 2022](https://hashnode.com/posts/protected-routes-in-react-router-v6/636d4d519962aec1e1a5eeea/comment/636da25fea115907a994acc9)

Very informative.
