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
- 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
- Accessing `matches` causes TS error on route component declared as an arrow function which uses typegen `Route` type
- Re-exported `default` from `route.ts` breaks `{ loaderData }` component prop passing
- [Bug]: useOutlet returns an incorrect value when inside nested React.createPortal's
- [Bug]: Use with single-spa, `useBlocker` may cause unnessesary reload
- [Bug]: useRevalidate cannot clear the error boundary in async method
- [Bug]: ScrollRestoration doesn't work with hashRouter
- Docs
- JavaScript not yet supported