TanStackT
TanStack2y ago
5 replies
efficient-indigo

Is it possible to add a route to the routeTree?

I have a developer tool that I want to add to the route tree if the user is whitelisted for the tool. In this case, I only have access to the routeTree , I have tried casting routeTree to a Route and calling routeTree.addChildren but it results in losing in all my routes.
Was this page helpful?