René's URL Explorer Experiment


Title: Ergonomic component-level code splitting and lazy loading · Issue #18093 · angular/angular · GitHub

Open Graph Title: Ergonomic component-level code splitting and lazy loading · Issue #18093 · angular/angular

X Title: Ergonomic component-level code splitting and lazy loading · Issue #18093 · angular/angular

Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [X] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submit support request here...

Open Graph Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [X] Feature request [ ] Documentation issue or request [ ] Support request => P...

X Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [X] Feature request [ ] Documentation issue or request [ ] Support request ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ergonomic component-level code splitting and lazy loading","articleBody":"\u003c!--\r\nPLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.\r\n\r\nISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.\r\n-->\r\n\r\n## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" -->\r\n\u003cpre>\u003ccode>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[ ] Bug report  \u003c!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[X] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\n\u003c!-- Describe how the issue manifests. -->\r\nRouter Module is optional and, depending on the nature of the app, it does not naturally fit.\r\n\r\nIf we don't use the RouterModule, I can't see an easy way to take advantage of the \"lazy loading\" feature for modules.\r\n\r\nI'd like to, somehow, identify an NgModule to be \"lazy loaded\" at definition time (just like you define its providers, etc).\r\n\r\nOnce the module has been marked as \"lazy loaded\", the build should generate an independent chunk for it and that module becomes eligible for being lazy-loaded at some execution time.\r\n\r\nOf course, If I have the choice of marking a module \"lazy\", I also need a mechanism to manually load those \"lazy loaded\" modules and start using them.\r\n\r\nIn summary, the feature request is: make the \"lazy loading\" feature available to developers outside the RouterModule since this module is optional but the feature should still be available.\r\n\r\nOf course this should output AOT compatible chunks, etc, just like the RouterModule internally does.\r\n\r\n\r\n## Expected behavior\r\n\u003c!-- Describe what the desired behavior would be. -->\r\nIn summary, the feature request is: make the \"lazy loading\" feature available to developers outside the RouterModule since this module is optional but the feature should still be available.\r\n\r\nOf course this should output AOT compatible chunks, etc, just like the RouterModule internally does.\r\n\r\n## Minimal reproduction of the problem with instructions\r\n\u003c!--\r\nFor bug reports please provide the *STEPS TO REPRODUCE* and if possible a *MINIMAL DEMO* of the problem via\r\nhttps://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).\r\n-->\r\n\r\n## What is the motivation / use case for changing the behavior?\r\n\u003c!-- Describe the motivation or the concrete use case. -->\r\nOur application and functionally can not be Router driven thus we need some way to make use of the \"lazy loading\" strategy that is internally used by the Router.\r\n\r\n## Environment\r\n\r\n\u003cpre>\u003ccode>\r\nAngular version: X.Y.Z\r\n\u003c!-- Check whether this is still an issue in the most recent Angular version -->\r\n\r\nBrowser:\r\n- [ ] Chrome (desktop) version XX\r\n- [ ] Chrome (Android) version XX\r\n- [ ] Chrome (iOS) version XX\r\n- [ ] Firefox version XX\r\n- [ ] Safari (desktop) version XX\r\n- [ ] Safari (iOS) version XX\r\n- [ ] IE version XX\r\n- [ ] Edge version XX\r\n \r\nFor Tooling issues:\r\n- Node version: XX  \u003c!-- run `node --version` -->\r\n- Platform:  \u003c!-- Mac, Linux, Windows -->\r\n\r\nOthers:\r\n\u003c!-- Anything else relevant?  Operating system version, IDE, package manager, HTTP server, ... -->\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/aalbericio","@type":"Person","name":"aalbericio"},"datePublished":"2017-07-13T11:12:40Z","url":"https://github.com/angular/angular/issues/18093"}

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:44511d7b-dd9a-3cb1-8eda-c52ae59b1aed
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id89A0:26ECEB:D2BA45:10F3E20:6B00F14B
html-safe-noncea3eb3b70ae980f794eb10ef239a22b326d35570f5719d9fd0834cdafc01207de
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OUEwOjI2RUNFQjpEMkJBNDU6MTBGM0UyMDo2QjAwRjE0QiIsInZpc2l0b3JfaWQiOiI3NjM0NTc0NzI1NzQxNjA1MTk1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac17318cd4d60b7208f18794445740073328f76b8a87dc64724414e8822cf09497
hovercard-subject-tagissue:242666461
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/18093/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9c85fc484807fc503e2a4c7387de903d5e795ad3b0664c7931ce241c0268a9d3/angular/angular/issues/18093
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9c85fc484807fc503e2a4c7387de903d5e795ad3b0664c7931ce241c0268a9d3/angular/angular/issues/18093
og:image:altI'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [ ] Bug report [X] Feature request [ ] Documentation issue or request [ ] Support request => P...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaalbericio
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/18093#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F18093
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%2F18093
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/18093
Reloadhttps://github.com/angular/angular/issues/18093
Reloadhttps://github.com/angular/angular/issues/18093
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)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/18093
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/18093
Ergonomic component-level code splitting and lazy loadinghttps://github.com/angular/angular/issues/18093#top
https://github.com/pkozlowski-opensource
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%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
Fixit H1'2022https://github.com/angular/angular/milestone/113
https://github.com/aalbericio
aalbericiohttps://github.com/aalbericio
on Jul 13, 2017https://github.com/angular/angular/issues/18093#issue-242666461
Nexthttps://github.com/angular/angular/issues/18093?timeline_page=1
IgorMinarhttps://github.com/IgorMinar
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
on Jul 13, 2017https://github.com/angular/angular/issues/18093#event-1163058359
https://github.com/Toxicable
Toxicablehttps://github.com/Toxicable
on Jul 13, 2017https://github.com/angular/angular/issues/18093#issuecomment-315206633
https://github.com/josephliccini
josephliccinihttps://github.com/josephliccini
on Jul 16, 2017https://github.com/angular/angular/issues/18093#issuecomment-315575724
@Toxicablehttps://github.com/Toxicable
https://github.com/aalbericio
aalbericiohttps://github.com/aalbericio
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316608318
@NgModulehttps://github.com/NgModule
https://github.com/Toxicable
Toxicablehttps://github.com/Toxicable
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316609227
https://plnkr.co/edit/ZGC82G9u10EQFYFvvRMB?p=previewhttps://plnkr.co/edit/ZGC82G9u10EQFYFvvRMB?p=preview
https://github.com/aalbericio
aalbericiohttps://github.com/aalbericio
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316655309
https://github.com/Toxicable
Toxicablehttps://github.com/Toxicable
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316656057
@aalbericiohttps://github.com/aalbericio
https://github.com/aalbericio
aalbericiohttps://github.com/aalbericio
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316668368
https://github.com/mlc-mlapis
mlc-mlapishttps://github.com/mlc-mlapis
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316671978
@Toxicablehttps://github.com/Toxicable
https://github.com/Toxicable
Toxicablehttps://github.com/Toxicable
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316844293
@mlc-mlapishttps://github.com/mlc-mlapis
https://plnkr.co/edit/ZGC82G9u10EQFYFvvRMB?p=previewhttps://plnkr.co/edit/ZGC82G9u10EQFYFvvRMB?p=preview
https://github.com/mlc-mlapis
mlc-mlapishttps://github.com/mlc-mlapis
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316846444
@Toxicablehttps://github.com/Toxicable
https://github.com/josephliccini
josephliccinihttps://github.com/josephliccini
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316851596
@Toxicablehttps://github.com/Toxicable
https://github.com/Toxicable
Toxicablehttps://github.com/Toxicable
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316852117
https://plnkr.co/edit/ZGC82G9u10EQFYFvvRMB?p=previewhttps://plnkr.co/edit/ZGC82G9u10EQFYFvvRMB?p=preview
@josephliccinihttps://github.com/josephliccini
https://github.com/josephliccini
josephliccinihttps://github.com/josephliccini
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316852853
https://github.com/Toxicable
Toxicablehttps://github.com/Toxicable
on Jul 20, 2017https://github.com/angular/angular/issues/18093#issuecomment-316854698
@josephliccinihttps://github.com/josephliccini
jelbournhttps://github.com/jelbourn
flag: can be closed?https://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22flag%3A%20can%20be%20closed%3F%22
on Oct 9, 2020https://github.com/angular/angular/issues/18093#event-3861772428
jelbournhttps://github.com/jelbourn
on Oct 9, 2020https://github.com/angular/angular/issues/18093#event-3861796192
https://github.com/jelbourn
jelbournhttps://github.com/jelbourn
on Oct 9, 2020https://github.com/angular/angular/issues/18093#issuecomment-706406819
@atscotthttps://github.com/atscott
#22243https://github.com/angular/angular/issues/22243
#13218https://github.com/angular/angular/issues/13218
https://github.com/KarlXOL
KarlXOLhttps://github.com/KarlXOL
on Oct 10, 2020https://github.com/angular/angular/issues/18093#issuecomment-706493319
https://medium.com/front-end-tricks/dynamic-header-bars-and-or-contents-for-your-ivy-angular-app-56e1e7e3fc22https://medium.com/front-end-tricks/dynamic-header-bars-and-or-contents-for-your-ivy-angular-app-56e1e7e3fc22
https://github.com/nasreddineskandrani
nasreddineskandranihttps://github.com/nasreddineskandrani
on Oct 12, 2020https://github.com/angular/angular/issues/18093#issuecomment-707087394
@KarlXOLhttps://github.com/KarlXOL
https://github.com/jstoppa
jstoppahttps://github.com/jstoppa
on Feb 8, 2021https://github.com/angular/angular/issues/18093#issuecomment-774808045
thishttps://github.com/angular/angular/issues/33654#issuecomment-663916022
thishttps://github.com/angular/angular/issues/35759#issuecomment-601444856
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
on Jun 4, 2021https://github.com/angular/angular/issues/18093#event-4843555193
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Nov 26, 2021https://github.com/angular/angular/issues/18093#issuecomment-980108859
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on Jun 30, 2022https://github.com/angular/angular/issues/18093#event-6907548856
https://github.com/pkozlowski-opensource
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
on Jun 30, 2022https://github.com/angular/angular/issues/18093#issuecomment-1170808136
RFC: Standalone components, directives and pipes - making Angular's NgModules optionalhttps://github.com/angular/angular/discussions/43784
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 30, 2022https://github.com/angular/angular/issues/18093#event-6907831087
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
Backloghttps://github.com/angular/angular/milestone/82
Fixit H1'2022https://github.com/angular/angular/milestone/113
on Jun 30, 2022https://github.com/angular/angular/issues/18093#event-6907831851
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Jul 31, 2022https://github.com/angular/angular/issues/18093#issuecomment-1200452958
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Jul 31, 2022https://github.com/angular/angular/issues/18093#event-7096509009
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/18093
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/18093
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%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
Fixit H1'2022https://github.com/angular/angular/milestone/113
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.