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 Example file path `routes/address-book_.$addressBookId_.edit.tsx` I would expect the parameter to be `addressBookId` and the type system agrees but at runtime the parameter is `addressBookId_` with a...
### Describe the bug When returning a redirect from a loader I am getting a weird TS error: `'router' is referenced directly or indirectly in its own type annotation`. This...
## Summary Inspired by React Router's [useSearchParams](https://reactrouter.com/en/main/hooks/use-search-params), The `useNavigate` method is useful for navigating between pages. However, when performing filter-related functions on the current page, it's often necessary to set...
fixes following problem for windows users: following structure: ``` routes ├── posts │ ├── index.tsx │ └── $postId.tsx ├── posts.tsx ├── index.tsx └── __root.tsx ``` should produce following output: ```...
## This is a port of Kent C Dodds Frontend Masters Remix Workshop app to Tanstack Router | Query | Express | Clerk | Typescript | Tailwind I have used...
### Describe the bug Errors in matched routes (for example an error thrown in a route loader) are not caught by the CatchBoundary on the server and the application rendering...
### Describe the bug Throw redirect in beforeLoader does not work for SSR example. ### Your Example Website or App https://stackblitz.com/edit/tanstack-router-u6w1y3?file=src%2Froutes%2F_auth.profile.tsx,src%2Froutes%2F_auth.tsx ### Steps to Reproduce the Bug or Issue 1....
### Describe the bug According to this section of documentation about code-splitting: https://tanstack.com/router/v1/docs/guide/code-splitting#data-loader-splitting `LoaderContext` type should be exported from `@tanstack/react-router`, but in reality is not. ### Your Example Website or...