react-router
react-router copied to clipboard
Declarative routing for React
Non-breaking continuation of #10318. Adds an optional `behavior` prop to `` that are passed through to the `scrollTo` calls. This allows the user to specify a specific behavior for scroll...
Single buttons deployments are cool - we want them We don't want to dup templates between create-react-router and single button deployments Lets make templates for create-react-router only for simple/non-deployment-coupled templates...
The FAQ contained information on returning 40Xs in Remix, but it was buried under a different answer. Moved the documentation to be under the question asking for 404s to contrast...
### What version of React Router are you using? 6.23.1 ### Steps to Reproduce sandbox: https://stackblitz.com/edit/github-yc7ha4?file=index.html Click `go test` > `proceed` ### Expected Behavior Redirect success without reload page ###...
### Reproduction https://stackblitz.com/edit/remix-run-remix-8wtcgn?file=app%2Froutes%2F_index.tsx To reproduce; - Click `set param mutate current` button on any of the components - You'll see that the component's history stacks that list the changes to...
### Reproduction https://stackblitz.com/edit/remix-run-remix-nri7k8?file=app%2Froutes%2F_index.tsx Click `set param` button and you'll see that the history stack will have 5 items (4 re-renders because of changing searchParams) instead of 2 and the first...
### Describe what's incorrect/missing in the documentation It would be beneficial to mention in the docs whether user of react-router can mutate the previous searchParams or they should create a...
### What version of React Router are you using? 6.23.1 ### Steps to Reproduce Take the example from https://github.com/remix-run/react-router/blob/main/examples/navigation-blocking/src/app.tsx and remove the user input based confirmation and replace it with...