Closed SundayPowerEndre closed 3 months ago
did this work correctly with a previous version?
Afaik, no. I just added the version in case it was relevant for you guys.
Edit: I just checked with version 1.0.0 and it has the same behaviour.
released in https://github.com/TanStack/router/releases/tag/v1.35.4
please upgrade @tanstack-router/vite-plugin
to 1.35.4
Thank you, and i am impressed with the speed 🙏🏽 Greatly appreciated
Describe the bug
When i am using nested route groups the Path type (i.e. to: "/page/component/") gets reset such that it reads from the innermost group and to the end.
Say that i have a path that is "/(auth)/org/(graphql)/$orgId/revenue" the Link will autosuggest "/$orgId/revenue" as opposed to the "/org/$orgId/revenue" as i would expect
On version: "@tanstack/react-router": "^1.35.3" i encountered an issue when i attempted to manually preloading a route with the router.preloadRoute() function.
Your Example Website or App
https://stackblitz.com/edit/github-isj4z7?file=src%2Froutes%2F__root.tsx
Steps to Reproduce the Bug or Issue
Expected behavior
I would expect that i could get the full path, so i can target it properly from anywhere in the app.
Screenshots or Videos
Platform
Additional context
I do not know if this is part of the intentional design of route groups, there was limited documentation, but it seemed like a fair interpretation of the feature that nested groups would be supported.