Reading the repo
Reading the repo
Saved setup from 2 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 branchNeeds Git: xcode-select --install
git clone https://github.com/remix-run/react-router.git cd react-router
Node.js 24
# needs nvm: brew install nvm (or https://github.com/nvm-sh/nvm) nvm install nvm use
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 macOS yet.
Claude reads the 11 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.