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

Declarative routing for React

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

### What version of React Router are you using? 6.0.0-beta.5 ### Steps to Reproduce [Recently](https://github.com/remix-run/react-router/pull/8071) a new warning was added when no `` in a `` matches the location. To...

### What version of React Router are you using? 6 ### Steps to Reproduce https://stackblitz.com/edit/github-aw7opq-k9k4xc?file=src%2Fmain.tsx Use a basename in the router (for example /foo), there is no way to link...

bug

### What is the new or updated feature that you are suggesting? Please add a testing guide to make it clear how to unit test components using react-router! ### Why...

docs

### What version of React Router are you using? 6.2.2 ### Steps to Reproduce ``` const routes = [ { element: , children: [ { path: "/:lang", element: } ]...

bug

### What version of React Router are you using? v6 ### Steps to Reproduce ``` const Navigate = useNavigate() Navigate(0)}> ``` ### Expected Behavior I was trying to refresh by...

bug

## Version [email protected] ## Test Case https://codesandbox.io/s/react-router-forked-9c8pi?file=/index.js The "fancy link" component's code comes directly from [the docs](https://reactrouter.com/web/api/Link/component-reactcomponent). ## Steps to reproduce Click on the "💅 About" link. ## Expected Behavior...

### What is the new or updated feature that you are suggesting? We have migrated our application to v6 and started using `useRoutes` hook. Our application previously had `basename` defined,...

feature

### What version of React Router are you using? 6.2.1 ### Steps to Reproduce Case 1: ``` ``` Case 2: ``` ``` ### Expected Behavior Case 1 === Case 2...

bug

### What is the new or updated feature that you are suggesting? I have a set of paths with a parameter like * `/foo/:id` * `/foo/:id/bar` * `/foo/:id/baz/etc` * ......

feature

### What version of React Router are you using? 6.0.2 ### Steps to Reproduce 1. Create a route with the ability to change search params. A good example is a...

bug