Decentralized/modular routes for browser router? #12009
Unanswered
joeattardi
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You could export the list of routes of a feature as an array and then in a centralized place combine them on the final list you pass to |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
My application is broken up into feature modules which are loaded when the app starts. We have a lot of routes. Is there a way to, say, have each feature module define its own routes, then combine them all into the single app-wide router?
Basically I am looking for a strategy to have a module register its own routes somehow with the router as the app is loaded.
Beta Was this translation helpful? Give feedback.
All reactions