+0
日增长
+4
周增长
56,637
stars
10,969
forks
800
watchers
5,501
prs
8,459
issues
348
releases
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
#15761Web Extension validation: dynamic import with dynamic values3 comments · 2026-11-14#15758Open-source verification stack for AI-assisted React Router & TypeScript apps (92-rule security scanner, headless Playwright QA & 72-rule UI linter)1 comments · 2026-11-13#15749Prerender: request timeout (10 s) and retries can't be configured in framework mode, so builds fail on loaded CI/deploy machines2 comments · 2026-11-11#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
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