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

Closes #12007 The normal behavior is: `fetcher1.load()` gets cancelled if a `fetcher2.action()` is called, then the `fetcher1.load()` is called again because of revalidation. The problem (bug?) is that a _cancelled_...

CLA Signed

### What version of React Router are you using? 6.26.1 ### Steps to Reproduce This is a common usage: Giving a Prisma schema: ```prisma // schema.prisma model User { //...

bug

### What version of React Router are you using? 6.26.2 ### Steps to Reproduce I have already reported the bug in remix-run/remix repo, which rather belongs to this repository: https://github.com/remix-run/remix/issues/10053...

bug

This has primarily 2 use cases: * When using `v7_fetcherPersist`, we lost the ability to actually cancel/abort fetches if a fetcher was unmounted, so this gives the users a programmatic...

CLA Signed

This PR moves the loadDotEnv function prior to configuring the routes. **Why is this important?** I have another project where routes are dynamically generated based on the value of a...

CLA Signed
pkg:@react-router/dev
feat:vite

### Reproduction Go to https://codesandbox.io/p/github/bartekparysek/github-olgrgqfe/master you should end up at the login page. Enter any data inside input and submit. You should be redirected to home page. Wait untill you...

bug
pkg:react-router
feat:router
feat:middleware

### Reproduction MRE: https://stackblitz.com/edit/github-dbzca6qx?file=app%2Froutes%2Fhome.tsx I'm attempting to do an optimistic update of a toggle following the pattern in the docs. Something like: ```typescript const status = (fetcher.formData && fetcher.formData.get('status') ===...

bug
pkg:react-router
feat:router

**Closes #14433** ### Description of the Change This Pull Request addresses the documentation issues raised in issue #14433 concerning the `Error Boundary` documentation. The key changes implemented are: 1. **Correction...

CLA Signed