react-router
react-router copied to clipboard
Declarative routing for React
In order for React Router transitions to compose with React 19 transitions we need to expose the promises from all of our transition functions: ```tsx navigate() submit() fetcher.submit() fetcher.load() revalidator.revalidate()...
Planning Notes - probably next week will be able to goof around in a playground with this - PR with React+Vite not merged yet, needs some work - Discussion: https://github.com/remix-run/remix/discussions/8048...
### What version of React Router are you using? 6.20.1 ### Steps to Reproduce I'm using the useRoutes hook from 'react-router-dom' for the creation of my Router ```js export default...
TODO: - [x] Opt-in Remix-style file conventions - [x] Support using multiple routing strategies in parallel - [x] vite-node to improve error messages when parsing routes code - [ ]...
Now that we don't have any more known features going in the 6.x release line (short of deprecation warnings, and stabilizing some flags), we can merge `v7` to `dev` and...
The current implementation of useLocation does not allow for state type to be passed as a generic to Location return type. By just passing a simple generic we can safely...
### What version of React Router are you using? 6.22.3 ### Steps to Reproduce 1. Navigate to a page and add a hash to the url 2. Call setSearchParams to...
These exports only existed for remix-react to call into @remix-run/router, but now that it's the same package we don't need to export those internals