# React Router 7 Tutorial

DevFeed: [React Router 7 Tutorial](<https://devfeed.tech/articles/react-router-7-tutorial-18974.md>)

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

Author: Robin Wieruch

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

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>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [beginners](<https://devfeed.tech/tags/beginners.md>), [children](<https://devfeed.tech/tags/children.md>), [code](<https://devfeed.tech/tags/code.md>), [components](<https://devfeed.tech/tags/components.md>), [element](<https://devfeed.tech/tags/element.md>), [install](<https://devfeed.tech/tags/install.md>), [layout](<https://devfeed.tech/tags/layout.md>), [linking](<https://devfeed.tech/tags/linking.md>), [links](<https://devfeed.tech/tags/links.md>), [matching](<https://devfeed.tech/tags/matching.md>), [navigation](<https://devfeed.tech/tags/navigation.md>), [project](<https://devfeed.tech/tags/project.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-tutorial](<https://devfeed.tech/tags/react-router-tutorial.md>), [render](<https://devfeed.tech/tags/render.md>), [setup](<https://devfeed.tech/tags/setup.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

## AI overview

The tutorial introduces React Router 7 by creating a React project, installing React Router, and importing its router in the application's top-level file. It then pairs `Link` components with `Route` components: links navigate to URLs, and matching routes render page components such as Home and Users. The excerpt next begins showing how those pages can share a layout by extracting common styling into a component. It is only a partial excerpt, so it does not establish the details of the other topics listed in the source summary.

## Source excerpt

React Router 7 tutorial: setup, hooks, nested routes, dynamic routes, programmatic navigation, active links, layout routes, index routes and more. A step by step React tutorial for beginners ...