react-router
https://github.com/reacttraining/react-router
JavaScript
Declarative routing for React
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
JavaScript not yet supported5 Subscribers
Add a CodeTriage badge to react-router
Help out
- Issues
- fix: request prerendered pages from the preview server's bound address
- Catch-all route (`path: "*"`) defeats every fog-of-war "route not yet discovered" guard — fetcher revalidation misfire + version-mismatch loop-guard silent no-op
- Aborted navigation during route discovery permanently poisons `discoveredPaths` — path cached as discovered, route tree never patched
- Prevent streaming disconnects from crashing Node
- Client abort mid-stream can crash the Node process: unhandled 'error' from writable.destroy() after monitor cleanup (@react-router/node >= 8.0.0)
- chore(deps): bump actions/setup-node from 6 to 7
- fix: avoid duplicate client HMR updates
- fix(dev): route arrow-function component exports typecheck correctly
- test: failing test for hydration race when a subscriber exists before RouterProvider mounts
- fix: keep ancestor layouts mounted when a data error surfaces to an error boundary
- Docs
- JavaScript not yet supported