---
title: "Discussion on \"React Router in Practice: Layouts, Nested Routes and Protected Routes\" | Hashnode"
description: "Discussion on \"React Router in Practice: Layouts, Nested Routes and Protected Routes\". Most React Router tutorials stop at \"here is how to render a page for a URL\". Real apps need more: a shared navbar, a dashboard with its own sidebar, and pages that only logged-in users can see.\nThis"
url: "https://hashnode.com/posts/react-router-in-practice-layouts-nested-routes-and-protected-routes/6afd0457b7f9bf9a18d873ca"
---

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

Discussion

# [React Router in Practice: Layouts, Nested Routes and Protected Routes](https://leeonscoding.hashnode.dev/react-router-in-practice-layouts-nested-routes-and-protected-routes?utm_source=hashnode&utm_medium=feed)

Most React Router tutorials stop at "here is how to render a page for a URL". Real apps need more: a shared navbar, a dashboard with its own sidebar, and pages that only logged-in users can see. This

15h ago · 6 min read · leeonscoding.hashnode.dev  
Read the article

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

## Written by

[Asfaq Leeon](https://hashnode.com/@leeonscoding)

@leeonscoding · Dhaka, Bangladesh

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

Senior Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
