router icon indicating copy to clipboard operation
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.

Results 526 router issues
Sort by recently updated
recently updated
newest added

### Describe the bug When clicking on a link, the entire root component gets re-rendered and re-mounted 6 times. Also, hovering on a link causes it to get re-mounted as...

### Describe the bug Type inference doesn't work for loader data returned from `useLoaderData()` method call on a route instantiated with `createRootRouteWithContext()`. ### Your Example Website or App https://stackblitz.com/edit/tanstack-router-xjbcqb?file=src%2Froutes%2F__root.tsx ###...

An example with [SSRx](https://github.com/marbemac/ssrx), a library I maintain. Everything seems to be working well including deferred data and lazy loading. The only thing that I was not able to get...

### Describe the bug Loading an SSR page that has a lazy file route leads to hydration errors (dev and prod) and a broken app. ### Your Example Website or...

ssr

Waiting for beforeLoad to resolve does not put the component into pending state. Closes #1104

The fix added in https://github.com/TanStack/router/pull/1111 doesn't actually get applied since the [replace on line 549](https://github.com/TanStack/router/blob/cd1b62f16cd35e601c32710049b4b7497cb1dc59/packages/router-generator/src/generator.ts#L549) removes any non-alpanumeric characters again. 🙈 This PR moves it to after the final replace...

### Describe the bug `const handleClick = (orderId: number) => { navigate({ to: "/orders/orders_manager/$orderId", params: { orderId }, }); };` Im suddenly getting errors to all my navigate functions including...

### Describe the bug On the website documentation, using the algolia search bar to jump to different parts of the documentation leads to an incorrect redirect. ### Your Example Website...

### Describe the bug ## Context I'm using tan router inside a Vite app which is being proxied too via a Next app (the App Router to be specific). The...

Encountered a broken link while reading the docs.