-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
information neededFurther information is requestedFurther information is requested
Description
Which project does this relate to?
Router
Describe the bug
#6404 led to a large amount of type errors in our codebase since a trailing / was added to our routes.
Further, we now have a weird UX where the keys of FileRoutesByFullPath are different than the keys of FileRoutesByTo:
Given this distinction, we end up with weird calls to navigate and related apis like the one below
Your Example Website or App
https://not-allowed-to-share.com
Steps to Reproduce the Bug or Issue
Generate the route tree prior to b42f84a, ensuring you have one or more index.tsx route files.
Note that they won't have a trailing /
Now generate again but with b42f84a
Note that now those routes have a trailing /
Expected behavior
No breaking change
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.159.5
- OS: macos
- Bundler: vite
- Bundler Version: 7.3.1
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
information neededFurther information is requestedFurther information is requested