ZOYKUHot Board

remix-run/react-routerDocumentation

Declarative routing for React

npm i react-router

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?

Document mirror archived from official upstream repository · Visit upstream GitHub
Snapshot date: 2026-11-08