path: '/', is generated unexpectedly
I have 3 group routes, as shown, and only the (public) group has an index.tsx but a / path is generted for the (protected) what is even weirder is that the (auth) did not generate for this path

7 Replies
fascinating-indigo•8mo ago
does it work at runtime though?
ambitious-aquaOP•8mo ago
in build you mean?
ambitious-aquaOP•8mo ago
same in build

fascinating-indigo•8mo ago
I meant: does it navigate properly at runtime?
ambitious-aquaOP•8mo ago
no
it's an empty page
ambitious-aquaOP•8mo ago
this is the project
https://github.com/FatahChan/pwa-spa-starter
GitHub
GitHub - FatahChan/pwa-spa-starter
Contribute to FatahChan/pwa-spa-starter development by creating an account on GitHub.
ambitious-aquaOP•8mo ago
it is bug, they fixed it I think
https://github.com/TanStack/router/pull/3289
GitHub
fix(router-generator): reset route-group Regex when calling `handle...
This was a weird one 🤔.
Since the Regex we use for checking if a "route-node" is a possible "route-group" uses the global flag, it carries some state across runs...