-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Rearchitect Router so it's more modular #42953
Copy link
Copy link
Closed
Labels
area: routerfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under considerationrefactoringIssue that involves refactoring or code-cleanupIssue that involves refactoring or code-cleanup
Milestone
Metadata
Metadata
Assignees
Labels
area: routerfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: under considerationFeature request for which voting has completed and the request is now under considerationFeature request for which voting has completed and the request is now under considerationrefactoringIssue that involves refactoring or code-cleanupIssue that involves refactoring or code-cleanup
Which @angular/* package(s) are relevant/releated to the feature request?
router
Description
The Angular router's current architecture is problematic for a couple big reasons:
RouteReuseStrategy, some option onExtraOptionswhich is used as an switch in the internal code, etc.)Strategythat can provide ano-opimplementation. Simple applications that do not use these features still incur the bundle size cost.Proposed solution
Because of the above two problems, we're often quite limited on what features we can implement. The router should be rearchitected with the following goals in mind:
Alternatives considered
N/A