Reading the repo
Reading the repo
GitHub didn't answer, so this is the saved copy from 16 h ago
Will it work on my device?
DEVELOPMENT.mdReleases are handled by a mostly automated process consisting of:
scripts/changes/When you are ready to begin the release process:
main with their change filesrelease.yml workflow will see the main branch with change files in it:
scripts/changes/pr.tsmain such as release-v7-prscripts/changes/version.ts
release-v<major>-pr to mainrelease.yml workflow will run again against main and see no change files:
needs-publish step, which checks npm to see if the current react-router version is already publishedscripts/changes/publish.tsrelease-v<major>-pr branch can be deleted after the PR is mergedYou may need to make changes to a release while the release PR is open - to do so:
main and make whatever changes you needmainmainHotfix releases operate like the above but off of a hotfix branch that is created from the proper version tag we are hotfixing.
hotfix branch from git tag for the release we are hotfixing
git checkout -b hotfix {tag}git push origin --set-upstream hotfixhotfix with a change filehotfixrelease.yml workflow will see the hotfix branch with change files in it:
scripts/changes/pr.ts)hotfix such as hotfix-v7-prCHANGELOG.md entrieshotfix-v<major>-pr to the hotfix branchrelease.yml workflow will run again against hotfix and see no change files:
scripts/changes/publish.ts)hotfix branch into main and push to originhotfix branchThen run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/remix-run/react-router.git cd react-router
Node.js 24
winget install CoreyButler.NVMforWindows nvm install 24 nvm use 24
corepack enable pnpm install
pnpm test
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.
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.