react-router
react-router copied to clipboard
Declarative routing for React
Thanks to the functionality users can write their `proxy` routes like the following: current: `/path/:param1/subpath/:param2` navigate to: `/newpath/:param1/newsubpath/:param2` It also helps to find routes because you may find the route...
### What version of React Router are you using? v6.4 ### Steps to Reproduce Go to https://reactrouter.com/en/main/route/route#children See that there is a big TODO on a core concept Shrug and...
This PR brings these hooks in line with what we have in the Remix repo --- #9669 needs to be merged first
This PR brings these functions in line with what we have in the Remix repo
I could have gone with `Omit`, which would be less code, but I like the explicitness of `Pick` more in these cases
Just like #9624, but for `@remix-run/router` instead of `react-router` > I could have gone with `Omit`, which would be less code, but I like the explicitness of `Pick` more in...
### What version of React Router are you using? 6.4.3 ### Steps to Reproduce The [ScrollRestoration component](https://github.com/remix-run/react-router/blob/37f2d36948ed1e0751751acf62cab391b22c0c9c/packages/react-router-dom/index.tsx#L1030) relies explicitly on the ambient `window` and `document` objects, but a router can...
### What version of React Router are you using? 6.4.1 ### Steps to Reproduce Pull this repository: https://github.com/jrakotoharisoa/react-router-sandbox 1) Submit form with empty value to trigger error from action 2)...