router
router copied to clipboard
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
### Describe the bug I have the same setup as the Authenticated Routes examples, but with firebase authentication. I have my auth in context, with a login and logout function....
### Describe the bug I am facing an issue on admin panel I am developing now. Sometimes, I cannot find exact steps to reproduce it just returns nothing in Outlet....
### Describe the bug When first loading, `onEnter` runs before `loader` and `context` in `onEnter` is always undefined. ### Your Example Website or App https://stackblitz.com/edit/github-h2bsvy ### Steps to Reproduce the...
# Getting lazy? Doing less work? and generating more (plus some recommendations) This PR focuses more on complex routes and to some degree many routes. When I say a complex...
The `useLocation` is a useful hook in [_React Router_](https://reactrouter.com/en/main/hooks/use-location). So I decided to add it to the _TanStack Router_ too.
### Describe the bug Preloading of routes seems to be affecting the currently rendered route. In the codesandbox, there are two routes under an `_auth` layout route. The `_auth.tsx` conditionally...
This adds some playwright tests to start-basic to ensure that it's working correctly. * `pnpm run test:playwright` runs the tests locally * `pnpm run test:playwright:replay` runs the tests with the...
Again quite high level to test navigation and not internals. I will add some more but wanted to know if you guys are ok with basic high level tests like...
According to the [signature](https://github.com/TanStack/router/blob/05941e5ef2b7d2776e885cf473fdcc3970548b22/packages/react-router/src/useBlocker.tsx#L7) the blocking function has `BlockerFn` type and not `() => string`