remix-run /react-router

Declarative routing for React

★ 56,635⑂ 10,959👁 799⑃ 5,489● 8,454▤ 239◈ 1,637
TypeScriptMITCreated 2014-05-16reactrouter.com
56,635
stars
+2
10,959
forks
799
watchers
5,489
prs
8,454
issues
239
releases
1,637
discussions

README

[![npm package][npm-badge]][npm] [![build][build-badge]][build]

Get Started · Documentation · Changelog · Discord



[npm-badge]: https://img.shields.io/npm/v/react-router.svg
[npm]: https://www.npmjs.org/package/react-router
[build-badge]: https://img.shields.io/github/actions/workflow/status/remix-run/react-router/test-unit.yml?branch=main&style=square
[build]: https://github.com/remix-run/react-router/actions/workflows/test-unit.yml

---

 Getting Started

React Router is a multi-strategy router for React. You can use it maximally as a Framework or minimally as a library with your own architecture. Check out the Getting Started docs and choose the mode that works best for your app.

 Packages

| Package                                                          | Description         | Modes                        |
| ---------------------------------------------------------------- | :------------------ | ---------------------------- |
| react-router                        | Core                | Framework, Data, Declarative |
| create-react-router          | Project creation    | Framework                    |
| @react-router/dev               | Development tooling | Framework                    |
| @react-router/node             | Node.js Adapter     | Framework                    |
| @react-router/serve           | Web Server          | Framework                    |
| @react-router/express       | Express Adaptrer    | Framework                    |
| @react-router/architect   | Architect Adapter   | Framework                    |
| @react-router/cloudflare | Cloudflare Adapter  | Framework                    |
| @react-router/fs-routes   | File-system routes  | Framework                    |

---

 Previous Versions

Looking for docs for an earlier version of React Router?

- v7 Docs | Upgrade from v7
- v6 Docs | Upgrade from v6
- v5 Docs | Upgrade from v5

Top issues

Discussions

Latest release

v8.5.1 [email protected] 2026-10-27
See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.mdv851

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON