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
The router supports navigating to a parent route with no child match (at least we do it and it seems to work perfectly with no warning on console).
It'd be easier to navigate to such routes if the name was kept.
The text was updated successfully, but these errors were encountered:
Can we make an exception if there's an index child route?
It makes sense because when there's a / child, you can't navigate to the parent only anymore.
When there's no index child, you can navigate to the parent, so it's nice that it has a (default) name.
Kind of related to #86, which said it's not possible to define a parent route name in
<route>
block.Why is the name of parent routes removed? code here:
vite-plugin-pages/src/generate.ts
Line 41 in 4676b31
The router supports navigating to a parent route with no child match (at least we do it and it seems to work perfectly with no warning on console).
It'd be easier to navigate to such routes if the name was kept.
The text was updated successfully, but these errors were encountered: