react-router
react-router copied to clipboard
Declarative routing for React
This was implemented originally in https://github.com/remix-run/react-router/pull/10336. It wasn't clear to me from that PR if `fetcher.load` itself is stable too, but maybe it is? Happy to make any needed changes!
### What version of React Router are you using? v6.20.1 ### Steps to Reproduce I had this issue with my own app built with react router, but I found that...
useFetchers currently returns a new array on every render. This PR memoizes it based on the internal useDataRouterState which appears to be stable as long as the fetchers aren't actually...
### What version of React Router are you using? 6.11.0 ### Steps to Reproduce Create a router with parent and child routes. Each route has a trailing slash in the...
See https://github.com/remix-run/react-router/discussions/9495. This is an updated version of https://github.com/remix-run/react-router/pull/9573, in hopes of moving things along. This version uses refs, since the linked discussion seemed to prefer that interface.
## Issue description A friend was having issues with Jellyfin on his Samsung Smart TV. Running the program, the following stack trace displayed: ![TypeError: Failed to construct 'Headers': No matching...
### What version of React Router are you using? 6.21.1 ### Steps to Reproduce 1. a controllable shouldBlock state 2. a page locking navigation on mount, unlocking it on dismount....
### Describe what's incorrect/missing in the documentation Page: https://reactrouter.com/en/main/hooks/use-navigate 1/ Would it be possible to add a state example here like: `{ state: { redirect: true } }`? 2/ Would...
### What version of React Router are you using? 6.14.2 ### Steps to Reproduce I have a router defined such as this: ``` const router = createBrowserRouter([ { path: '/',...
### What version of React Router are you using? 6.15.0 ### Steps to Reproduce 1. Navigate 2. Scroll down 3. Use back-navigation Gesture ### Expected Behavior Back preview is shown...