Type safety on several routers within the same project #5671
Unanswered
pierrelemee
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋 ,
I'm currently adding Tanstack routers to a project I'm working on, with these constraints:
agent/fdo/*,agent/fip6/*or/agent/uap/*I would like to benefit of type safety and IDE completion,but when working on a router B, my editor complains about routes not found in the set of known routes of the router A:
My guess is this is due to multiple declarations of the
routermodule extension:So my question is: is there a workaround to this ? Or simply maintaining every SPA in its own directory, each one at the same level, will release the said ambiguity ?
Beta Was this translation helpful? Give feedback.
All reactions