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 supported4 Subscribers
Add a CodeTriage badge to react-router
Help out
- Issues
- [react-router + Vite 6] "Cannot find module..." import problems with the react-router vite plugin
- "{hook} may be used only in the context of a <Router> component" when running with vitest, node >=22.12 and there's a peer-dep on react-router
- [Docs]: CSS Files section missing in the new docs
- [Single Fetch] Root did not complete. This is a bug in React.
- react-router v7 `hydrateFallbackElement` is not rendered initially when patched route loader is pending (root route loader is not presented)
- Stable callback fn passed as ref to a Link gets called twice on every re-render
- throwing object from streaming loader does not work on client navigation
- Only the first submit button in a `Form` is triggered in vitest component tests
- @react-router/serve not caching assets in /public for 1 hr
- Accessing `matches` causes TS error on route component declared as an arrow function which uses typegen `Route` type
- Docs
- JavaScript not yet supported