---
title: "Discussion on \"Nested Route and Index Route in ReactJS\" | Hashnode"
description: "Discussion on \"Nested Route and Index Route in ReactJS\". Implementation : import { BrowserRouter,Routes,Route } from \"react-router-dom\"\nAnd we have to install that react router\nfor installation we have to write the script - npm i react-router-dom\n1) Simple Route\nimport { BrowserRouter,Routes,Route } from \"..."
url: "https://hashnode.com/posts/nested-route-and-index-route-in-reactjs/659edfe2e9bf309a396f91d9"
---

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

Discussion

# [Nested Route and Index Route in ReactJS](https://rahulxf.dev/nested-route-and-index-route-in-reactjs?utm_source=hashnode&utm_medium=feed)

Implementation : import { BrowserRouter,Routes,Route } from "react-router-dom" And we have to install that react router for installation we have to write the script - npm i react-router-dom 1) Simple Route import { BrowserRouter,Routes,Route } from "...

Jan 10, 2024 · 2 min read · rahulxf.dev  
Read the article

## Written by

[Rahul Vishwakarma](https://hashnode.com/@manzilXf)

@manzilXf · Gorakhpur,UP,India

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

Developer

I am Developer learning new skills and tools And currently pursuing B.Tech in CSE (Graduating Year 2026)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
