René's URL Explorer Experiment


Title: Custom Element output events not firing during initialization lifecycle hooks · Issue #36141 · angular/angular · GitHub

Open Graph Title: Custom Element output events not firing during initialization lifecycle hooks · Issue #36141 · angular/angular

X Title: Custom Element output events not firing during initialization lifecycle hooks · Issue #36141 · angular/angular

Description: 🐞 bug report Affected Package The issue is caused by package @angular/elements Is this a regression? No Description Event listeners on Custom Element component outputs don't fire during ngOnChanges (initial call), ngOnInit, ngAfterViewIn...

Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/elements Is this a regression? No Description Event listeners on Custom Element component outputs don't fire during ngOnChanges...

X Description: 🐞 bug report Affected Package The issue is caused by package @angular/elements Is this a regression? No Description Event listeners on Custom Element component outputs don't fire during ngOnCha...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Custom Element output events not firing during initialization lifecycle hooks","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\nThe issue is caused by package @angular/elements\r\n\r\n### Is this a regression?\r\nNo\r\n\r\n### Description\r\nEvent listeners on Custom Element component outputs don't fire during `ngOnChanges` (initial call), `ngOnInit`, `ngAfterViewInit`, or `ngAfterContentInit`.\r\n\r\n## 🔬 Minimal Reproduction\r\nhttps://github.com/antch/angular-elements-lifecycle-hooks\r\nFor both the Custom and Native element there is a list which should be appended with the fired events. For the native element, we can see the callback fires during initialization of the component, but this doesn't happen for the Custom Element.\r\n\r\nYou can look in the console to see the execution of the lifecycle hooks.\r\n\r\nThe reproduction uses artifacts from a [CI build](https://circleci.com/gh/angular/angular/657041#artifacts/containers/0) associated with #36114.\r\n\r\n## 🌍  Your Environment\r\n\r\n**Angular Version:**\r\n*Warning:* This is a build off of CI assets, so this isn't entirely accurate.\r\n\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 9.0.6\r\nNode: 10.14.2\r\nOS: darwin x64\r\n\r\nAngular: 9.1.0-next.4\r\n... animations, common, compiler, compiler-cli, core, elements\r\n... forms, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\nIvy Workspace: Yes\r\n\r\nPackage                           Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect         0.900.6\r\n@angular-devkit/build-angular     0.900.6\r\n@angular-devkit/build-optimizer   0.900.6\r\n@angular-devkit/build-webpack     0.900.6\r\n@angular-devkit/core              9.0.6\r\n@angular-devkit/schematics        9.0.6\r\n@angular/cli                      9.0.6\r\n@ngtools/webpack                  9.0.6\r\n@schematics/angular               9.0.6\r\n@schematics/update                0.900.6\r\nrxjs                              6.5.4\r\ntypescript                        3.6.5\r\nwebpack                           4.41.2\r\n\u003c/code>\u003c/pre>","author":{"url":"https://github.com/antch","@type":"Person","name":"antch"},"datePublished":"2020-03-19T13:18:59Z","url":"https://github.com/angular/angular/issues/36141"}

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:d3e029cd-3e85-618e-4ed5-d202a23b3a97
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE992:A99C2:118DB42:167E714:6B0107B5
html-safe-nonce3bfaadd60226c38c2049bd8fa780842df48a86d8fe0fb3935149e4b765421e0e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTkyOkE5OUMyOjExOERCNDI6MTY3RTcxNDo2QjAxMDdCNSIsInZpc2l0b3JfaWQiOiI3ODczNDkyMjExNTQ1OTk5Mjg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8372336524155d4872242e214338780ed1c72b6d700e2365c13e1fbfeeefe128
hovercard-subject-tagissue:584406131
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/36141/issue_layout
twitter:imagehttps://opengraph.githubassets.com/91b092dc4d4ac2815c1acfa63cb59b62e3a094711ed0292168ee694fa88e1536/angular/angular/issues/36141
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/91b092dc4d4ac2815c1acfa63cb59b62e3a094711ed0292168ee694fa88e1536/angular/angular/issues/36141
og:image:alt🐞 bug report Affected Package The issue is caused by package @angular/elements Is this a regression? No Description Event listeners on Custom Element component outputs don't fire during ngOnChanges...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameantch
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/36141#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F36141
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%2F36141
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/36141
Reloadhttps://github.com/angular/angular/issues/36141
Reloadhttps://github.com/angular/angular/issues/36141
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/36141
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/36141
Custom Element output events not firing during initialization lifecycle hookshttps://github.com/angular/angular/issues/36141#top
area: elementsIssues related to Angular Elementshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20elements%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/antch
antchhttps://github.com/antch
on Mar 19, 2020https://github.com/angular/angular/issues/36141#issue-584406131
https://github.com/antch/angular-elements-lifecycle-hookshttps://github.com/antch/angular-elements-lifecycle-hooks
CI buildhttps://circleci.com/gh/angular/angular/657041#artifacts/containers/0
#36114https://github.com/angular/angular/pull/36114
Nexthttps://github.com/angular/angular/issues/36141?timeline_page=1
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Mar 19, 2020https://github.com/angular/angular/issues/36141#issuecomment-601236150
@antchhttps://github.com/antch
subscribes to eventshttps://github.com/angular/angular/blob/c0143cb2abdd172de1b95fd1d2c4cfc738640e28/packages/elements/src/create-custom-element.ts#L167-L170
ngElementStrategy#connect()https://github.com/angular/angular/blob/c0143cb2abdd172de1b95fd1d2c4cfc738640e28/packages/elements/src/create-custom-element.ts#L164
initial change detectionhttps://github.com/angular/angular/blob/c0143cb2abdd172de1b95fd1d2c4cfc738640e28/packages/elements/src/component-factory-strategy.ts#L158
AndrewKushnirhttps://github.com/AndrewKushnir
area: elementsIssues related to Angular Elementshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20elements%22
on Mar 19, 2020https://github.com/angular/angular/issues/36141#event-3146453567
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Mar 19, 2020https://github.com/angular/angular/issues/36141#event-3146453660
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Mar 20, 2020https://github.com/angular/angular/issues/36141#issuecomment-601752168
#36161https://github.com/angular/angular/pull/36161
@antchhttps://github.com/antch
https://github.com/antch
antchhttps://github.com/antch
on Mar 20, 2020https://github.com/angular/angular/issues/36141#issuecomment-601781731
atscotthttps://github.com/atscott
on Jun 5, 2020https://github.com/angular/angular/issues/36141#event-3412427427
fix(elements): fire custom element output events during component ini…https://github.com/angular/angular/commit/e9bff5fe9f40d87b2164fc4f667f2cdd0afd4634
https://docs.github.com/articles/closing-issues-via-commit-messages
e9bff5fhttps://github.com/angular/angular/commit/e9bff5fe9f40d87b2164fc4f667f2cdd0afd4634
atscotthttps://github.com/atscott
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
2a330a6https://github.com/angular/angular/commit/2a330a60ed85cd403144c7b64fc61ff4c5399db8
on Jun 5, 2020https://github.com/angular/angular/issues/36141#event-3412427614
atscotthttps://github.com/atscott
on Jun 10, 2020https://github.com/angular/angular/issues/36141#event-3430784987
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Jun 12, 2020https://github.com/angular/angular/issues/36141#issuecomment-643295594
@remackgeekhttps://github.com/remackgeek
ElementZoneStrategyhttps://github.com/remackgeek/elements-zone-strategy/blob/f1b6699495a8c0909dbbfbdca12770ecca843e15/projects/elements-zone-strategy/src/lib/element-zone-strategy.ts
https://github.com/antch
antchhttps://github.com/antch
on Jun 12, 2020https://github.com/angular/angular/issues/36141#issuecomment-643310338
@gkalpakhttps://github.com/gkalpak
https://github.com/gkalpak
gkalpakhttps://github.com/gkalpak
on Jun 13, 2020https://github.com/angular/angular/issues/36141#issuecomment-643599743
#37570https://github.com/angular/angular/pull/37570
ngwattcoshttps://github.com/ngwattcos
on Jun 25, 2020https://github.com/angular/angular/issues/36141#event-3483789845
fix(elements): fire custom element output events during component ini…https://github.com/ngwattcos/angular/commit/5d595099af5c62c735093ff055b18f9e50d968cf
https://docs.github.com/articles/closing-issues-via-commit-messages
5d59509https://github.com/ngwattcos/angular/commit/5d595099af5c62c735093ff055b18f9e50d968cf
AndrewKushnirhttps://github.com/AndrewKushnir
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
eba9dd3https://github.com/angular/angular/commit/eba9dd364e51a6e857a94fd5f8980fec4350c856
on Jun 29, 2020https://github.com/angular/angular/issues/36141#event-3493796281
AndrewKushnirhttps://github.com/AndrewKushnir
on Jun 29, 2020https://github.com/angular/angular/issues/36141#event-3493796478
fix(elements): fire custom element output events during component ini…https://github.com/angular/angular/commit/89e16ed6a54119d2ad1ba3f887253d3d717f248d
https://docs.github.com/articles/closing-issues-via-commit-messages
89e16edhttps://github.com/angular/angular/commit/89e16ed6a54119d2ad1ba3f887253d3d717f248d
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Jul 30, 2020https://github.com/angular/angular/issues/36141#issuecomment-666499229
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Jul 30, 2020https://github.com/angular/angular/issues/36141#event-3604675802
profanishttps://github.com/profanis
on Sep 5, 2020https://github.com/angular/angular/issues/36141#event-3732915992
fix(elements): fire custom element output events during component ini…https://github.com/profanis/angular/commit/840cc1c771bcb03bf24d882f5d93728a6b8879f3
https://docs.github.com/articles/closing-issues-via-commit-messages
840cc1chttps://github.com/profanis/angular/commit/840cc1c771bcb03bf24d882f5d93728a6b8879f3
fix(elements): fire custom element output events during component ini…https://github.com/profanis/angular/commit/c26122d4bf532585d2becb8cfd9483cb4fb2ec7b
https://docs.github.com/articles/closing-issues-via-commit-messages
c26122dhttps://github.com/profanis/angular/commit/c26122d4bf532585d2becb8cfd9483cb4fb2ec7b
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/36141
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/36141
area: elementsIssues related to Angular Elementshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20elements%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
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.