react-router
react-router copied to clipboard
Declarative routing for React
As the title said, I found this issue while testing out the new typegen and I have a sitemap that's located under `/sitemap/$lang[.]xml` which caused it to generate a param...
fix #12160 - Fixed an issue where builds would fail during static prerendering in React Router v7 when the data passed to the loader contains non-ASCII characters, such as Korean....
### What version of React Router are you using? 6.27.0 ### Steps to Reproduce 1.createBrowserRouter([ { path: '/', Component: Layout, loader: layoutLoader, children: layoutRoutes, }]) 2.layoutLoader  3.consoled "!role",when i...
### What version of React Router are you using? 6.27.0 ### Steps to Reproduce I followed the example in the documentation to create a route level blocker using `useBlocker`. But...
### Describe what's incorrect/missing in the documentation When you browse the main page of react router website this example shows up:  But there is no mention or whatsoever that...
A pattern that I see (and have used) a lot is to define methods on `handle` that accept the current `match`. Since this is invoked from a parent route, there's...
### Describe what's incorrect/missing in the documentation In the manual installation instructions, it suggests creating an `app/root.jsx` file that exports `Layout`, `HydrateFallback`, `ErrorBoundary`, and a `default` component. https://github.com/remix-run/react-router/blob/31a9ad8477544f2d41cc41e49422c08c286ab88e/docs/start/installation.md?plain=1#L63-L91 It looks...
### What version of React Router are you using? 7.0.0-pre.0 ### Steps to Reproduce ```bash git clone https://github.com/jacobparis/underkill-stack.git pnpm install pnpm build edit package.json to remove NODE_ENV=production from the "start"...
### What version of React Router are you using? 6.27.0 ### Steps to Reproduce Actually i was trying to setup page with long table (like scrollable page) that constantly refresh...