# React Router 7: Nested Routes

DevFeed: [React Router 7: Nested Routes](<https://devfeed.tech/articles/react-router-7-nested-routes-18970.md>)

Original publisher: [Read original article](<https://www.robinwieruch.de/react-router-nested-routes/>)

Author: Robin Wieruch

Published: 2025-01-06T05:52:52Z

Content type: tutorial

Language: en

Sources: [Robin Wieruch](<https://devfeed.tech/sources/robin-wieruch.md>)

Topics: [React Router](<https://devfeed.tech/topics/react-router.md>), [React](<https://devfeed.tech/topics/react.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [allows](<https://devfeed.tech/tags/allows.md>), [application](<https://devfeed.tech/tags/application.md>), [browser](<https://devfeed.tech/tags/browser.md>), [change](<https://devfeed.tech/tags/change.md>), [code](<https://devfeed.tech/tags/code.md>), [component](<https://devfeed.tech/tags/component.md>), [content](<https://devfeed.tech/tags/content.md>), [example](<https://devfeed.tech/tags/example.md>), [exchange](<https://devfeed.tech/tags/exchange.md>), [explore](<https://devfeed.tech/tags/explore.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [feature](<https://devfeed.tech/tags/feature.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [function](<https://devfeed.tech/tags/function.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [nested](<https://devfeed.tech/tags/nested.md>), [react](<https://devfeed.tech/tags/react.md>), [react-router](<https://devfeed.tech/tags/react-router.md>), [react-router-7](<https://devfeed.tech/tags/react-router-7.md>), [react-router-nested-routes](<https://devfeed.tech/tags/react-router-nested-routes.md>)

## AI overview

React Router 7 nested routes let a user page keep its shared view while replacing only the content for the selected tab, with the URL changing as the user moves between Profile and Account. The excerpt starts from parent routes with index and no-match fallbacks, then adds tab links and matching nested routes under the User route. Links can use absolute paths or relative paths that build on the parent route. The excerpt ends after noting that only the User component appears during testing, so it does not show how the tutorial resolves that rendering issue.

## Source excerpt

How to: Nested Routes in React Router 7. A step by step example on Nested Routes with React Router ...