react-router icon indicating copy to clipboard operation
react-router copied to clipboard

Declarative routing for React

Results 316 react-router issues
Sort by recently updated
recently updated
newest added

We already have `npx upgrade-remix`, could work like that.

v7

PR: https://github.com/remix-run/react-router/pull/11675 We want to keep this working: ```ts import {} from "react-router/server" ``` But not have to copy the `./dist/server.js` file out of `dist` into the root `./server.js`

v7

Wait to merge this until we have an RR v7 alpha release out

CLA Signed

### What version of React Router are you using? 6.23.0 ### Steps to Reproduce use this repo branch: https://github.com/Kong/insomnia/tree/perf/modify-initial-entry we have a loader fetch here: https://github.com/Kong/insomnia/blob/f364d717df2e37b542443586fe09656b46579350/packages/insomnia/src/ui/routes/project.tsx#L614 When trigger navigate in...

bug

Quick first pass at supporting `` where `fn` is `(path: Path) => boolean)` - allowing applications to lazily compute the boolean value at click time. The primary use case is...

CLA Signed

I'm not sure if this is a side effect of #8861, it works fine when I use the `HashRouter` parameter basename as "app1". So I'm hoping that when I switch...

CLA Signed

API is cumbersome, I'm thinking this: ```tsx function loader({ response }) { // change status response.status(404) // append/set headers response.headers.append('Cookie', 'foo=bar') response.headers.set('X-Foo', 'bar') // redirect (throws) response.redirect('/login') response.redirect(`/post/${newPostId}`, 303) //...

…of a redirect This implements: https://github.com/remix-run/react-router/discussions/11715

CLA Signed