is using route.fullPath still possible for index routes with trailingSlash never?
This stopped working (in ts-land) with the type handling of trailingSlash, wondering if there is a workaround I'm not aware of, other than typing out the full path.
See line 67 here: https://stackblitz.com/edit/tanstack-router-xrnp9s?file=src%2Fmain.tsx%3AL68
2 Replies
raw-harlequin•16mo ago
cc @Chris Horobin
genetic-orange•16mo ago
fullPath
does not match to
because branches and index routes are deduped and trailing slashes are either added or removed for to
We could add a function to each route to get this but it would have to be a function due to circular references