You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a bit confused when upgrading @tanstack-router/react-router to the latest version. The generated routes have changed so that some index files no longer have a "/":
Here is an example of my file structure for the app index:
routes/ _app.index/ -components/ route.tsx
This is causing the hooks such as useNavigate or useSearch implementations to be changed across my app as the routes have changed. I am using file based routing and haven't changed the file structure at all.
I am hoping for some guidance on why this might be happening and how to resolve it or a link to the PR that implemented this change as I can't seem to find it and want to understand if it's intended and how I need to update my app to accommodate the new changes
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am a bit confused when upgrading @tanstack-router/react-router to the latest version. The generated routes have changed so that some index files no longer have a
"/":Here is an example of my file structure for the app index:
This is causing the hooks such as
useNavigateoruseSearchimplementations to be changed across my app as the routes have changed. I am using file based routing and haven't changed the file structure at all.I am hoping for some guidance on why this might be happening and how to resolve it or a link to the PR that implemented this change as I can't seem to find it and want to understand if it's intended and how I need to update my app to accommodate the new changes
Beta Was this translation helpful? Give feedback.
All reactions