Declarative routing for React
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Remix Run Bot 7759e8e291 chore: format 2 days ago
.changeset chore: Update version for release (#11551) 1 week ago
.github Add nightly release workflow (#11550) 1 week ago
decisions Data Strategy Configuration (#11098) 2 months ago
docs chore: format 2 days ago
examples docs: listen for close event on response, not request (#11249) 3 months ago
packages chore: Update version for release (#11551) 1 week ago
patches Migrate to pnpm (#11358) 2 months ago
scripts Fix experimental releases to work with pnpm 2 months ago
static chore(docs): Update contributing docs 3 years ago
tutorial Link to the tutorial on https://reactrouter.com/ (#9916) 1 year ago
.browserslistrc Remove IE 11 support 3 years ago
.eslintignore Migrate to pnpm (#11358) 2 months ago
.eslintrc fix: Remove the internal router singleton (#9227) 2 years ago
.gitignore Migrate to pnpm (#11358) 2 months ago
.npmrc Migrate to pnpm (#11358) 2 months ago
.nvmrc Update CI to node 20 and fix issue with build on experimental releases (#11257) 3 months ago
CHANGELOG.md Merge branch 'release-next' 1 week ago
CLA.md chore: create CLA (#8557) 2 years ago
CODE_OF_CONDUCT.md
CONTRIBUTING.md fix: doc urls (#8881) 2 years ago
DEVELOPMENT.md Migrate to pnpm (#11358) 2 months ago
LICENSE.md chore: update `LICENSE.md` (#10368) 1 year ago
README.md Link to the tutorial on https://reactrouter.com/ (#9916) 1 year ago
contributors.yml docs: Replace `.` typo with `;` (#11561) 2 days ago
package.json Remove flags (#11384) 2 months ago
pnpm-lock.yaml Migrate to pnpm (#11358) 2 months ago
pnpm-workspace.yaml Migrate to pnpm (#11358) 2 months ago
prettier.config.js chore: Format `main` with Prettier defaults (#8678) 2 years ago
rollup.config.js `@remix-run/router`: Add support for navigation blocking (#9709) 1 year ago
rollup.utils.js Update CI to node 20 and fix issue with build on experimental releases (#11257) 3 months ago
tsconfig.json Add Remix Data APIs (#8937) 2 years ago

README.md

Welcome to React Router · npm package build

React Router is a lightweight, fully-featured routing library for the React JavaScript library. React Router runs everywhere that React runs; on the web, on the server (using node.js), and on React Native.

If you're new to React Router, we recommend you start with the tutorial.

If you're migrating to v6 from v5 (or v4, which is the same as v5), check out the migration guide. If you're migrating from Reach Router, check out the migration guide for Reach Router. If you need to find the code for v5, it is on the v5 branch.

Documentation for v6 can be found on our website.

Contributing

There are many different ways to contribute to React Router's development. If you're interested, check out our contributing guidelines to learn how you can get involved.

Packages

This repository is a monorepo containing the following packages:

Changes

Detailed release notes for a given version can be found on our releases page.

Funding

You may provide financial support for this project by donating via Open Collective. Thank you for your support!

About

React Router is developed and maintained by Remix Software and many amazing contributors.