https://github.com/remix-run/react-router
  
  
    Declarative routing for React 
    https://github.com/remix-run/react-router
  
        Last synced: 6 months ago 
        JSON representation
    
Declarative routing for React
- Host: GitHub
 - URL: https://github.com/remix-run/react-router
 - Owner: remix-run
 - License: mit
 - Created: 2014-05-16T22:22:51.000Z (over 11 years ago)
 - Default Branch: main
 - Last Pushed: 2025-05-05T04:05:10.000Z (6 months ago)
 - Last Synced: 2025-05-05T08:12:19.969Z (6 months ago)
 - Language: TypeScript
 - Homepage: https://reactrouter.com
 - Size: 35.9 MB
 - Stars: 54,707
 - Watchers: 809
 - Forks: 10,576
 - Open Issues: 224
 - 
            Metadata Files:
            
- Readme: README.md
 - Changelog: CHANGELOG.md
 - Contributing: CONTRIBUTING.md
 - Funding: .github/FUNDING.yml
 - License: LICENSE.md
 - Code of conduct: CODE_OF_CONDUCT.md
 - Security: SECURITY.md
 
 
Awesome Lists containing this project
- best-of-react - GitHub - 1% open · ⏱️ 02.06.2024): (Routing)
 - best-of-react - GitHub - 1% open · ⏱️ 02.06.2024): (Routing)
 - awesome-ccamel - remix-run/react-router - Declarative routing for React (TypeScript)
 - awesome-github-star - react-router - run | 51003 | (TypeScript)
 - awesome-list - react-router - run | 43784 | (JavaScript)
 - StarryDivineSky - remix-run/react-router
 - awesome-react - react-router - Declarative routing for React (**Awesome React** [](https://github.com/sindresorhus/awesome) / React)
 - awesome-arsenal - Router - 路由。 (武器库 / 前端)
 - stars - react-router - run | 55790 | (TypeScript)
 - stars - react-router - run | 53443 | (TypeScript)
 - awesome-engineering - React-Router
 - best-of-react - GitHub - 1% open · ⏱️ 02.06.2024): (Routing)
 - awesome-typescript-backends - Remix/React Router (who knows?) - Multi-strategy router for React. Can be used as a React framework or as a library. (Frameworks)
 - awesome-typescript-backends - Remix/React Router (who knows?) - Multi-strategy router for React. Can be used as a React framework or as a library. (Frameworks)
 
README
          [![npm package][npm-badge]][npm] [![build][build-badge]][build]
[npm-badge]: https://img.shields.io/npm/v/react-router-dom.svg
[npm]: https://www.npmjs.org/package/react-router-dom
[build-badge]: https://img.shields.io/github/actions/workflow/status/remix-run/react-router/test.yml?branch=dev&style=square
[build]: https://github.com/remix-run/react-router/actions/workflows/test.yml
React Router is a multi-strategy router for React bridging the gap from React 18 to React 19. You can use it maximally as a React framework or minimally as a library with your own architecture.
- [Getting Started - Framework](https://reactrouter.com/start/framework/installation)
- [Getting Started - Library](https://reactrouter.com/start/library/installation)
- [Upgrade from v6](https://reactrouter.com/upgrading/v6)
- [Upgrade from Remix](https://reactrouter.com/upgrading/remix)
- [Changelog](https://github.com/remix-run/react-router/blob/main/CHANGELOG.md)
## Packages
- [`react-router`](./packages/react-router)
- [`@react-router/dev`](./packages/react-router-dev)
- [`@react-router/node`](./packages/react-router-node)
- [`@react-router/cloudflare`](./packages/react-router-cloudflare)
- [`@react-router/serve`](./packages/react-router-serve)
- [`@react-router/fs-routes`](./packages/react-router-fs-routes)
## Previous Versions
- [v6](https://reactrouter.com/v6)
- [v5](https://v5.reactrouter.com/)