Search results
React Router is a library for routing and data fetching in React applications. Learn how to use the new features of v6.4, migrate from v5, or get help with common issues.
- Feature Overview
React Router's nested routes were inspired by the routing...
- Tutorial
The main.jsx file is the entry point. Open it up and we'll...
- Examples
Current Future Flags 🆕Migrating to RouterProvider Upgrading...
- FAQs
In React Router v6, we fully embraced hooks and use them to...
- Main Concepts
For everyday use, React Router is pretty simple. You don't...
- Migrating to RouterProvider
Migrating to RouterProvider. When we originally began...
- Upgrading from v5
$ npm install react-router-dom # or, for a React Native app...
- Migrating from @reach/router
Migrating from Reach Router to React Router v6. This page is...
- Feature Overview
React Router DOM is a package that provides bindings for using React Router in web applications. Learn how to get started, see the latest version, and find other projects using react-router-dom.
Learn how to use React Router to create a feature-rich app that lets you keep track of your contacts. Follow along with the step-by-step instructions and code examples to set up routing, layouts, error handling, and more.
Learn how to declare routes with JSX or objects, match URL segments, use loaders and actions, and handle errors with React Router. See examples of dynamic, optional, splat, and layout routes.
28 iul. 2021 · Learn how to use React Router DOM to create dynamic and user-friendly web applications. This tutorial covers the basics of routing, components, parameters, and nested routes with examples and code.
Learn once, Route Anywhere
React Router is a collection of navigational components that compose declaratively with your application. Learn how to use React Router for web and native platforms, and sign up for updates and workshops.