René's URL Explorer Experiment


Title: TemplateRef passed into other component not checked under Ivy · Issue #33393 · angular/angular · GitHub

Open Graph Title: TemplateRef passed into other component not checked under Ivy · Issue #33393 · angular/angular

X Title: TemplateRef passed into other component not checked under Ivy · Issue #33393 · angular/angular

Description: 🐞 bug report Affected Package angular 9 with ivy Is this a regression? yes Description I check the Ivy Minor Change docs here https://docs.google.com/document/d/1Dije0AsJ0PxL3NaeNPxpYDeapj30b_QC0xfeIvIIzgg/preview and found that If a tem...

Open Graph Description: 🐞 bug report Affected Package angular 9 with ivy Is this a regression? yes Description I check the Ivy Minor Change docs here https://docs.google.com/document/d/1Dije0AsJ0PxL3NaeNPxpYDeapj30b_QC0xf...

X Description: 🐞 bug report Affected Package angular 9 with ivy Is this a regression? yes Description I check the Ivy Minor Change docs here https://docs.google.com/document/d/1Dije0AsJ0PxL3NaeNPxpYDeapj30b_QC0xf...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TemplateRef passed into other component not checked under Ivy","articleBody":"🐞 bug report\r\n\r\n### Affected Package\r\n\r\nangular 9 with ivy\r\n\r\n### Is this a regression?\r\nyes\r\n\r\n### Description\r\nI check the Ivy Minor Change docs here\r\n\r\nhttps://docs.google.com/document/d/1Dije0AsJ0PxL3NaeNPxpYDeapj30b_QC0xfeIvIIzgg/preview\r\n\r\nand found that\r\n\r\n>If a template is declared in one view but inserted into a different view, change detection will occur for that template only when its insertion point is checked (previously, change detection would also run when its declaration point was checked). \r\n\r\nIt will bring lots of break changes to our UI library when upgrading it to angular 9 with ivy, because of many components' input support both `string` and `TemplateRef\u003cany>` type, and all components are working under **OnPush** mode.\r\n\r\nWhen the user passes a TemplateRef with a variable to the component, the template inside the component won't update any longer even if the variable has changed outside the component, which is a very common situation.\r\n\r\n\r\nFor example\r\n\r\nthe select API here: https://ng.ant.design/components/select/en#api\r\n\r\nProperty | Description | Type | Default\r\n-- | -- | -- | --\r\n[nzNotFoundContent] | Specify content to show when no result matches.. | string \\| `TemplateRef\u003cvoid>` | 'Not Found'\r\n\r\nThe feature comes from a directive here: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/core/addon/string_template_outlet.ts#L24 which brought a lot of convenience to the user.\r\n\r\n\r\nI wonder if it is possible to keep the same as the previous version of the template check behavior\r\n\r\n\r\nThanks a lot\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\nit works with angular 8 in the stackblitz, but not work under 9.0.0-next\r\n\r\nhttps://stackblitz.com/edit/angular-99qln5?file=src/app/hello.component.ts\r\n\r\nI could not enable ivy in stackblitz, so there is no online repro here.\r\nDownload and upgrade all `@angular/*`, you can find the name inside the component is `Angular`, but the outside name is `Angular Next` after 3 sec.\r\n\r\n\r\n## 🔥 Exception or Error\r\n\r\n## 🌍  Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\n@angular-devkit/architect         0.900.0-next.15\r\n@angular-devkit/build-angular     0.900.0-next.15\r\n@angular-devkit/build-optimizer   0.900.0-next.15\r\n@angular-devkit/build-webpack     0.900.0-next.15\r\n@angular-devkit/core              9.0.0-next.15\r\n@angular-devkit/schematics        9.0.0-next.15\r\n@angular/cli                      9.0.0-next.15\r\n@ngtools/webpack                  9.0.0-next.15\r\n@schematics/angular               9.0.0-next.15\r\n@schematics/update                0.900.0-next.15\r\nrxjs                              6.5.3\r\ntypescript                        3.6.4\r\nwebpack                           4.41.2\r\n\r\n\r\n\u003c/code>\u003c/pre>\r\n\r\n","author":{"url":"https://github.com/vthinkxie","@type":"Person","name":"vthinkxie"},"datePublished":"2019-10-25T07:15:15Z","url":"https://github.com/angular/angular/issues/33393"}

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:5db528b1-3f04-0b8c-65be-4a5bc00f8965
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBC3E:17FB7:57CEB0:6E9DD2:6B010F8D
html-safe-nonce1c0d477fa75e219dc896fc7fff8826865b22aea4f1e1dc95f9a4af0300ec2818
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzNFOjE3RkI3OjU3Q0VCMDo2RTlERDI6NkIwMTBGOEQiLCJ2aXNpdG9yX2lkIjoiMTY3OTk5MzU4MzY2MDI0MDc4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc1f86b532ee0e3a1b0a0b17ce4013bd3569f6dee88d0ed3c6f6132e7b61d8492
hovercard-subject-tagissue:512345705
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/33393/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4cd0dacc590c76583e1243b53f1336ddba45f52bea32401cb875ea9b92124a7c/angular/angular/issues/33393
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4cd0dacc590c76583e1243b53f1336ddba45f52bea32401cb875ea9b92124a7c/angular/angular/issues/33393
og:image:alt🐞 bug report Affected Package angular 9 with ivy Is this a regression? yes Description I check the Ivy Minor Change docs here https://docs.google.com/document/d/1Dije0AsJ0PxL3NaeNPxpYDeapj30b_QC0xf...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevthinkxie
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/33393#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F33393
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%2F33393
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/33393
Reloadhttps://github.com/angular/angular/issues/33393
Reloadhttps://github.com/angular/angular/issues/33393
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/33393
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/33393
TemplateRef passed into other component not checked under Ivyhttps://github.com/angular/angular/issues/33393#top
https://github.com/mhevery
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
v9-blockershttps://github.com/angular/angular/milestone/98
https://github.com/vthinkxie
vthinkxiehttps://github.com/vthinkxie
on Oct 25, 2019https://github.com/angular/angular/issues/33393#issue-512345705
https://docs.google.com/document/d/1Dije0AsJ0PxL3NaeNPxpYDeapj30b_QC0xfeIvIIzgg/previewhttps://docs.google.com/document/d/1Dije0AsJ0PxL3NaeNPxpYDeapj30b_QC0xfeIvIIzgg/preview
https://ng.ant.design/components/select/en#apihttps://ng.ant.design/components/select/en#api
https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/core/addon/string_template_outlet.ts#L24https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/core/addon/string_template_outlet.ts#L24
https://stackblitz.com/edit/angular-99qln5?file=src/app/hello.component.tshttps://stackblitz.com/edit/angular-99qln5?file=src/app/hello.component.ts
Nexthttps://github.com/angular/angular/issues/33393?timeline_page=1
https://github.com/pshurygin
pshuryginhttps://github.com/pshurygin
on Oct 25, 2019https://github.com/angular/angular/issues/33393#issuecomment-546243506
vthinkxiehttps://github.com/vthinkxie
on Oct 25, 2019https://github.com/angular/angular/issues/33393#event-2743288749
https://github.com/trotyl
trotylhttps://github.com/trotyl
on Oct 25, 2019https://github.com/angular/angular/issues/33393#issuecomment-546308439
#33285https://github.com/angular/angular/issues/33285
AndrewKushnirhttps://github.com/AndrewKushnir
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
comp: ivyhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22comp%3A%20ivy%22
on Oct 25, 2019https://github.com/angular/angular/issues/33393#event-2744911530
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Oct 25, 2019https://github.com/angular/angular/issues/33393#event-2744911573
https://github.com/manklu
mankluhttps://github.com/manklu
on Oct 25, 2019https://github.com/angular/angular/issues/33393#issuecomment-546530093
@vthinkxiehttps://github.com/vthinkxie
#33285 (comment)https://github.com/angular/angular/issues/33285#issuecomment-546528919
https://github.com/vthinkxie
vthinkxiehttps://github.com/vthinkxie
on Oct 26, 2019https://github.com/angular/angular/issues/33393#issuecomment-546570106
@mankluhttps://github.com/manklu
alxhubhttps://github.com/alxhub
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity3: brokenhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Oct 29, 2019https://github.com/angular/angular/issues/33393#event-2754013189
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Oct 29, 2019https://github.com/angular/angular/issues/33393#event-2754013230
https://github.com/jbedard
jbedardhttps://github.com/jbedard
on Nov 3, 2019https://github.com/angular/angular/issues/33393#issuecomment-549113815
IgorMinarhttps://github.com/IgorMinar
Backloghttps://github.com/angular/angular/milestone/82
v9-blockershttps://github.com/angular/angular/milestone/98
on Nov 8, 2019https://github.com/angular/angular/issues/33393#event-2784414203
IgorMinarhttps://github.com/IgorMinar
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
on Nov 11, 2019https://github.com/angular/angular/issues/33393#event-2789259901
karahttps://github.com/kara
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
b62b11bhttps://github.com/angular/angular/commit/b62b11bd6b239e62e475fcf3fe12c4d9a0738f7e
on Nov 12, 2019https://github.com/angular/angular/issues/33393#event-2793151421
karahttps://github.com/kara
on Nov 12, 2019https://github.com/angular/angular/issues/33393#event-2793151517
fix(ivy): Run ChangeDetection on transplanted views (#33644)https://github.com/angular/angular/commit/37ae45e2ece867fd9980832908e8edec924b38d4
#33644https://github.com/angular/angular/pull/33644
https://docs.github.com/articles/closing-issues-via-commit-messages
37ae45ehttps://github.com/angular/angular/commit/37ae45e2ece867fd9980832908e8edec924b38d4
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Dec 13, 2019https://github.com/angular/angular/issues/33393#issuecomment-565497456
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 Dec 13, 2019https://github.com/angular/angular/issues/33393#event-2881849838
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/33393
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/33393
mheveryhttps://github.com/mhevery
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
v9-blockershttps://github.com/angular/angular/milestone/98
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.