René's URL Explorer Experiment


Title: Rearchitect Router so it's more modular · Issue #42953 · angular/angular · GitHub

Open Graph Title: Rearchitect Router so it's more modular · Issue #42953 · angular/angular

X Title: Rearchitect Router so it's more modular · Issue #42953 · angular/angular

Description: 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: It is not extensible. Developers cannot easily extend or chan...

Open Graph Description: 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: It is not extensible....

X Description: 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: It is not extensi...

Opengraph URL: https://github.com/angular/angular/issues/42953

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Rearchitect Router so it's more modular","articleBody":"### Which @angular/* package(s) are relevant/releated to the feature request?\r\n\r\nrouter\r\n\r\n### Description\r\n\r\nThe Angular router's current architecture is problematic for a couple big reasons:\r\n\r\n* It is not extensible. Developers cannot easily extend or change the Router's functionality to support features that would be useful to their applications. Instead, these features have to be built in to the core Router code and exposed through some endpoint (i.e. `RouteReuseStrategy`, some option on `ExtraOptions` which is used as an switch in the internal code, etc.)\r\n* It is not tree shakeable. Due to its non-modular nature, almost all features (lazy loading, guards, resolvers) are generally baked in to the Router's internals unless explicitly configurable through a `Strategy` that can provide a `no-op` implementation. Simple applications that do not use these features still incur the bundle size cost.\r\n\r\n\r\n### Proposed solution\r\n\r\nBecause 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:\r\n\r\n* Tree-shakeability\r\n* More configurable features, such as\r\n    * #24187\r\n    * #40577\r\n    * #10556 / #24956\r\n    * #16416\r\n    * Configurable browser history management, for example\r\n        * Ability to use the upcoming [App History API](https://github.com/WICG/app-history)\r\n        * #42915\r\n        * Ability to fix issues like #13586 without having to wait for the baked-in fix\r\n* General ability to use @angular/router to build custom routing solutions, which will likely require exposing more of the router internals such as:\r\n  *  #38951\r\n  * #25630 / #24069\r\n\r\n### Alternatives considered\r\n\r\nN/A","author":{"url":"https://github.com/atscott","@type":"Person","name":"atscott"},"datePublished":"2021-07-23T22:09:26Z","url":"https://github.com/angular/angular/issues/42953"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:474abcd4-9f5b-8ef9-c408-dc5b74ec7f17
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC0B0:3D97C8:979A94:CC222B:6B00E8A4
html-safe-nonce519a3bd48b7cd40e9e59a8a6713bf0480b91ee857e1a6366c86cdff265e711b1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEIwOjNEOTdDODo5NzlBOTQ6Q0MyMjJCOjZCMDBFOEE0IiwidmlzaXRvcl9pZCI6Ijg0MzU3OTU3OTM4NjQwOTE4MTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac9571c8b31995b2a49ac234eff9814723ad08c42f0e265756bd5679eb61d2d08c
hovercard-subject-tagissue:951925032
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/42953/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e6689ef9af638d43951530fa9870e24b56e96a29402da8e334ffe82e91ec7cb9/angular/angular/issues/42953
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e6689ef9af638d43951530fa9870e24b56e96a29402da8e334ffe82e91ec7cb9/angular/angular/issues/42953
og:image:altWhich @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: It is not extensible....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameatscott
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/42953#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F42953
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F42953
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/42953
Reloadhttps://github.com/angular/angular/issues/42953
Reloadhttps://github.com/angular/angular/issues/42953
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests140 (140)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/42953
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/42953
Rearchitect Router so it's more modularhttps://github.com/angular/angular/issues/42953#top
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
refactoringIssue that involves refactoring or code-cleanuphttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22refactoring%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/atscott
atscotthttps://github.com/atscott
on Jul 23, 2021https://github.com/angular/angular/issues/42953#issue-951925032
Change Route guard and resolver ordering to follow route parent/child hierarchy #24187https://github.com/angular/angular/issues/24187
Async guards should have the option to wait for previous guards to finish #40577https://github.com/angular/angular/issues/40577
Perhaps Router Resolve shouldn't wait for Observable to Complete? #10556https://github.com/angular/angular/issues/10556
Add wait/no-wait asynchronous policy control to router resolves #24956https://github.com/angular/angular/issues/24956
feat(router): Cascading route support #16416https://github.com/angular/angular/pull/16416
App History APIhttps://github.com/WICG/app-history
Add option to not reset Url and Router state to Angular Router on Navigation Errors #42915https://github.com/angular/angular/issues/42915
Deactivation Guard breaks the routing history #13586https://github.com/angular/angular/issues/13586
Add UrlTree utilities/helpers to public API #38951https://github.com/angular/angular/issues/38951
Provide an official way to access the module/injector for a route #25630https://github.com/angular/angular/issues/25630
Expose '_loadedConfig' in a public way. #24069https://github.com/angular/angular/issues/24069
atscotthttps://github.com/atscott
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
refactoringIssue that involves refactoring or code-cleanuphttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22refactoring%22
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
on Jul 23, 2021https://github.com/angular/angular/issues/42953#event-5063295773
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
on Jul 23, 2021https://github.com/angular/angular/issues/42953#event-5063295826
angular-robothttps://github.com/apps/angular-robot
votes requiredhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22votes%20required%22
on Jul 24, 2021https://github.com/angular/angular/issues/42953#event-5064083173
https://github.com/apps/angular-robot
angular-robothttps://github.com/apps/angular-robot
on Jul 24, 2021https://github.com/angular/angular/issues/42953#issuecomment-886058010
documentationhttps://github.com/angular/angular/blob/e29eb8abfbfdfb793e08ac88e14b7ba6d2ff2136/docs/GITHUB_PROCESS.md#feature-request-process
https://github.com/PieterjanDeClippel
PieterjanDeClippelhttps://github.com/PieterjanDeClippel
on Jul 25, 2021https://github.com/angular/angular/issues/42953#issuecomment-886193302
angular-robothttps://github.com/apps/angular-robot
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
votes requiredhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22votes%20required%22
on Jul 25, 2021https://github.com/angular/angular/issues/42953#event-5064987132
https://github.com/SchnWalter
SchnWalterhttps://github.com/SchnWalter
on Aug 25, 2021https://github.com/angular/angular/issues/42953#issuecomment-905458445
#29089https://github.com/angular/angular/issues/29089
https://github.com/micru
micruhttps://github.com/micru
on Dec 3, 2021https://github.com/angular/angular/issues/42953#issuecomment-985652814
https://github.com/atscott
atscotthttps://github.com/atscott
on May 4, 2022https://github.com/angular/angular/issues/42953#issuecomment-1117973455
@micruhttps://github.com/micru
#45735https://github.com/angular/angular/pull/45735
#45240https://github.com/angular/angular/pull/45240
#45877https://github.com/angular/angular/pull/45877
alxhubhttps://github.com/alxhub
on May 24, 2022https://github.com/angular/angular/issues/42953#event-6671187072
feat(router): Add ability to create `UrlTree` from any `ActivatedRout…https://github.com/angular/angular/commit/53ca936366fb908278571bae5fcc7fa08b19a5a0
53ca936https://github.com/angular/angular/commit/53ca936366fb908278571bae5fcc7fa08b19a5a0
https://github.com/PowerKiKi
PowerKiKihttps://github.com/PowerKiKi
on Nov 13, 2023https://github.com/angular/angular/issues/42953#issuecomment-1807709986
#10556https://github.com/angular/angular/issues/10556
https://github.com/denisyilmaz
denisyilmazhttps://github.com/denisyilmaz
on Apr 25, 2024https://github.com/angular/angular/issues/42953#issuecomment-2076931216
#24187https://github.com/angular/angular/issues/24187
https://github.com/AndreasHae
AndreasHaehttps://github.com/AndreasHae
on May 6, 2024https://github.com/angular/angular/issues/42953#issuecomment-2095338953
#837https://github.com/angular/angular/pull/837
https://github.com/PowerKiKi
PowerKiKihttps://github.com/PowerKiKi
on May 6, 2024https://github.com/angular/angular/issues/42953#issuecomment-2095545262
"data to be resolved before the route is finally activated"https://angular.io/api/router/ResolveFn#description
https://github.com/gaborszekely
gaborszekelyhttps://github.com/gaborszekely
on Jul 13, 2024https://github.com/angular/angular/issues/42953#issuecomment-2226725222
https://github.com/EinfachHans
EinfachHanshttps://github.com/EinfachHans
on Mar 28, 2025https://github.com/angular/angular/issues/42953#issuecomment-2760543563
#24187https://github.com/angular/angular/issues/24187
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Apr 27, 2026https://github.com/angular/angular/issues/42953#issuecomment-4328466354
JeanMechehttps://github.com/JeanMeche
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 27, 2026https://github.com/angular/angular/issues/42953#event-24913375714
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on May 28, 2026https://github.com/angular/angular/issues/42953#issuecomment-4559829271
automatic conversation locking policyhttps://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on May 28, 2026https://github.com/angular/angular/issues/42953#event-26040600990
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/42953
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/42953
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
feature: under considerationFeature request for which voting has completed and the request is now under considerationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%3A%20under%20consideration%22
refactoringIssue that involves refactoring or code-cleanuphttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22refactoring%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.