react-router
react-router copied to clipboard
Declarative routing for React
RFC: https://github.com/remix-run/react-router/discussions/14080 Add a new prerender config to enable concurrent prerendering to speed up the process
RFC: https://github.com/remix-run/react-router/discussions/13749
Cloudflare RSC in data mode erroring during dev What I found is that the request for `http://localhost:5173/__vite_rsc_load_module_dev_proxy?environmentName=ssr&entryName=index` Errors with this error: ``` Error: Stream ended before root value was parsed...
…igation and revalidation state
Hi! ## Issue As my `react-router`-based (latest release version) project grew, I encountered the following error when running `react-router` (as an Express.js app) in development mode: Output of `npm run...
### Reproduction Go to https://stackblitz.com/~/github.com/fonzcastellanos/react-router-use-fetcher-bug, enter a non-empty string to the "Message" input field, and press the "Submit" button. Note that `StrictMode` is disabled. ### System Info ```shell System: OS:...
This is a small optimization to `href()` to not use a backtracking regex on splat paths. The speedup of the new `trimEndSplat()` method over the regex `/\/*\*?$/` is about 17x...
RFC: #14417 PRs: #14407 , #14462
### Reproduction stackblitz https://stackblitz.com/edit/2025-10-17-41732624-836b-4844-4054-e103b9099801?file=src%2Fapp%2Froutes%2Farticle.tsx When basename is specified in react-router.config.ts, calling useFetcher().submit() causes the client to navigate to a 404 page. This issue does not occur when no basename is...
### Reproduction Open the reproduction repository in Stackblitz: https://stackblitz.com/~/github.com/rossipedia/rr-fetcher-redirect-revalidate 1. Click on "Go to form" link 2. Click on "Submit with Form" 3. Observe a new ID is appended to...