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
#9991[Bug]: Make setSearchParams stable?34 comments · 2023-01-26#12676throwing object from streaming loader does not work on client navigation 17 comments · 2025-01-03#12763[Single Fetch] Root did not complete. This is a bug in React.16 comments · 2025-01-17#12813[Docs]: Tutorial: React Router library mode14 comments · 2025-01-22#14091Bug: path aliases don't get correctly resovlved in `routes.ts`11 comments · 2025-07-28#14177Occulted Vite errors in dev mode Cloudflare - Error running module "10 comments · 2025-08-14#13998React 19.1.0 "TypeError: Cannot read properties of null (reading 'useContext')"10 comments · 2025-07-15#15501<Link> click handling freezes the page under rapid repeated navigation (react-router-dom v7.18.3)9 comments · 2026-09-13
Discussions
#15723Get the remote IP address (framework mode)1 comments · 2026-11-02#15720Run React Compiler natively in framework mode2 comments · 2026-10-30#15687Proposal: Mode-specific subset packages0 comments · 2026-10-24#15669<ViewTransition> migration path for directional page transitions (transition types + back/forward)1 comments · 2026-10-21#15647Allow SSR during development when `ssr: false`0 comments · 2026-10-17#15632Preserve/cache page state for back/forward navigations a la <Activity>1 comments · 2026-10-15#15622How to provide a populated RouteContextProvider from BYO server?3 comments · 2026-10-12#15619React router 8 importing @react-router/dev/routes in production build1 comments · 2026-10-11
Latest release
v8.5.1 [email protected] 2026-10-27See the changelog for release notes: https://github.com/remix-run/react-router/blob/main/CHANGELOG.mdv851