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

### What version of React Router are you using? 6.17.0 ### Steps to Reproduce Consider url `http://localhost:3000/?location=xx&room=yy#/view` The hook can't see parameters when the broser api `url.searchParams` can parse them....

bug

### What version of React Router are you using? 6.7.0 ### Steps to Reproduce 1. Use `setSearchParams` in anything that needs a dependency array and add it to avoid issues....

bug

Sometimes the `` fallback in the `` parent is not rendered when the props change, usually during sibling route changes where the props change, but the component is not mounted...

docs
CLA Signed

### What version of React Router are you using? 6.22.1 ### Steps to Reproduce * Define a dynamic route to capture branch names, using the pattern `/:branch`. * Encode a...

bug

### What version of React Router are you using? 6.22.2 ### Steps to Reproduce I'm running `react-router-dom` in [Shopify customer account ui environment](https://shopify.dev/docs/api/customer-account-ui-extensions/unstable/apis/navigation#example-using-react-router-in-a-full-page-extension-(experimental)) This runs on a webworker with a...

bug

### What version of React Router are you using? 6.21.3 ### Steps to Reproduce Based on the provided reproduction, when i click on the "User" link, it goes through `Layout`...

bug

### What version of React Router are you using? 6.22.1 ### Steps to Reproduce Render a Link with a value containing colons: `` ### Expected Behavior Colon is an allowed...

bug

Fixes https://github.com/remix-run/react-router/issues/11254 In order to be able to run `yarn build`, I had to add some type casts. Not sure if this is the right tradeoff. My first approach was...

CLA Signed

### What version of React Router are you using? react-router-dom 6.14.2 ### Steps to Reproduce Use the '|' character in a dynamic segment in the `to` prop for a `NavLink`....

bug

### Describe what's incorrect/missing in the documentation Hello, The documentation comment for `useLocation().hash` states: > A URL fragment identifier, beginning with a #. If this is a strict rule, it...

docs