react-router
https://github.com/remix-run/react-router
TypeScript
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.
TypeScript not yet supported5 Subscribers
Add a CodeTriage badge to react-router
Help out
- Issues
- Vite plugins that eagerly optimize dependencies can produce a silently broken build
- [Bug]: splitRouteModules "enforce" falsely rejects JSX exports during Vite dev
- cache route chunks analysis and avoid optimizing deps in child compiler
- 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
- Client abort mid-stream can crash the Node process: unhandled 'error' from writable.destroy() after monitor cleanup (@react-router/node >= 8.0.0)
- Prevent streaming disconnects from crashing Node
- fix: avoid duplicate client HMR updates
- fix(dev): route arrow-function component exports typecheck correctly
- Docs
- TypeScript not yet supported