react-router
react-router copied to clipboard
Declarative routing for React
### What version of React Router are you using? 6.27.0 ### Steps to Reproduce See reproduction + Readme here: https://codesandbox.io/p/devbox/5xv9jn?file=%2FREADME.md%3A25%2C37 I have set up a very simple test case to...
IMO `ssr` should be set to `false` by default, but here are the doc changes in-case its thats not the desired behavior. Source: https://github.com/remix-run/react-router/blob/66613c0c6d1b2ba4f3636b660ba55803286d695c/packages/react-router-dev/vite/config.ts#L331-L337
Added an **additional "Registration Form"** example to the **Form Component documentation**. Demonstrated how to use `Mutation Submissions` in the registration workflow. Showed how to work with returned data from the...
### Describe what's incorrect/missing in the documentation In the[ Link documentation](https://reactrouter.com/en/main/components/link#relative), relative paths are explained thusly: > By default, links are relative to the route hierarchy (`relative="route"`), so `..` will...
- Updated the **`Relative` section**. Added a missing part about `index` routes behaviour when using relative links. It was mentioned in this issue - #12122 - Fixed a typo -...
### What version of React Router are you using? 6.22.3 ### Steps to Reproduce I know this error happen cuz of calling hook outside of router context. But it's actually...
Closes #11907 Added optional chaining operator (`?.`) when checking for `signal.aborted` because it throws an error in [older browsers](https://caniuse.com/mdn-api_abortsignal_aborted).
### What version of React Router are you using? 6.26.2 ### Steps to Reproduce ``` router config: { path: 'loader', shouldRevalidate: () => false, loader: () => { fetch('/api') }...