react-router icon indicating copy to clipboard operation
react-router copied to clipboard

Declarative routing for React

Results 416 react-router issues
Sort by recently updated
recently updated
newest added

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...

CLA Signed

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....

CLA Signed

### 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 ![image](https://github.com/user-attachments/assets/d83082f8-8d53-43f0-8239-16dd2ea4960a) 3.consoled "!role",when i...

bug

### 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...

bug

### Describe what's incorrect/missing in the documentation When you browse the main page of react router website this example shows up: ![image](https://github.com/user-attachments/assets/fdba3bd6-ab23-4791-8556-bc86bda7a1a4) But there is no mention or whatsoever that...

docs

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...

CLA Signed

### 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...

docs

### 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"...

bug

### 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...

bug