René's URL Explorer Experiment


Title: Enhance `ViewContainerRef.createComponent` to cater for SVG elements and beyond · Issue #66893 · angular/angular · GitHub

Open Graph Title: Enhance `ViewContainerRef.createComponent` to cater for SVG elements and beyond · Issue #66893 · angular/angular

X Title: Enhance `ViewContainerRef.createComponent` to cater for SVG elements and beyond · Issue #66893 · angular/angular

Description: Which @angular/* package(s) are relevant/related to the feature request? core Description I already know there are threads already open on this issue, and I wanted to touch base on it as it has been placed on the back burner. ViewContain...

Open Graph Description: Which @angular/* package(s) are relevant/related to the feature request? core Description I already know there are threads already open on this issue, and I wanted to touch base on it as it has bee...

X Description: Which @angular/* package(s) are relevant/related to the feature request? core Description I already know there are threads already open on this issue, and I wanted to touch base on it as it has bee...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enhance `ViewContainerRef.createComponent` to cater for SVG elements and beyond","articleBody":"### Which @angular/* package(s) are relevant/related to the feature request?\n\ncore\n\n### Description\n\nI already know there are threads already open on this issue, and I wanted to touch base on it as it has been placed on the back burner.\n\n`ViewContainerRef.createComponent` creates a component with `svg` in its selector correctly. For example, a component with selector `svg.some-class` is created in the correct namespace (see `namespaceURI`):\n\n\u003cimg width=\"471\" height=\"476\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/4b0f6872-139d-4ad1-bbb6-54c6d1699cd2\" />\n\nHowever, any child `path`, `g`, etc are not created in the correct namespace when done using `ViewContainerRef.createComponent` (see `namespaceURI`):\n\n\u003cimg width=\"471\" height=\"476\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/985779f6-2d6a-43f1-be4d-1ccd7eaa7b1e\" />\n\n### Proposed solution\n\nAs I see it, the neatest solution would be either to:\n\n1) allow `ViewContainerRef.createComponent` to accept a `hostElement` parameter, just as `createComponent` does, or\n2) make `ViewContainerRef.createComponent` accept a `nameSpace` parameter, or\n3) allow a `nameSpace` field in the `@Component` decorator.\n\nI would by far prefer 1, as this would allow dynamic selection of the component's host node. This would extend beyond this case - for example, a button component can be attached to either an `a` or `button` element dynamically.\n\n### Alternatives considered\n\nNone.","author":{"url":"https://github.com/davidbusuttil","@type":"Person","name":"davidbusuttil"},"datePublished":"2026-02-03T20:39:45Z","url":"https://github.com/angular/angular/issues/66893"}

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:d81e0a6b-eeea-b5fd-cc14-9283db4b848b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD870:14ECB:1A0A0D7:210FD13:6B014A3A
html-safe-nonce6664bd3fc5e1c9d8dbe43acbc1fb677d110d5f1db41242e4ebadf8b99da35298
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODcwOjE0RUNCOjFBMEEwRDc6MjEwRkQxMzo2QjAxNEEzQSIsInZpc2l0b3JfaWQiOiIxMzAwODY5MDUwODQ2NDk3MzM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbaeede9541d33da6e782352810586a8e56d8192e8ef5b30ee591a266719ea697
hovercard-subject-tagissue:3893115649
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/66893/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c0cc01836532006e9f7449406ba3baedaee13b96bb28e8bb2d6ebd1bbb9c7648/angular/angular/issues/66893
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c0cc01836532006e9f7449406ba3baedaee13b96bb28e8bb2d6ebd1bbb9c7648/angular/angular/issues/66893
og:image:altWhich @angular/* package(s) are relevant/related to the feature request? core Description I already know there are threads already open on this issue, and I wanted to touch base on it as it has bee...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedavidbusuttil
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/66893#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F66893
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%2F66893
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/66893
Reloadhttps://github.com/angular/angular/issues/66893
Reloadhttps://github.com/angular/angular/issues/66893
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)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/66893
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/66893
Enhance ViewContainerRef.createComponent to cater for SVG elements and beyondhttps://github.com/angular/angular/issues/66893#top
https://github.com/davidbusuttil
davidbusuttilhttps://github.com/davidbusuttil
on Feb 3, 2026https://github.com/angular/angular/issues/66893#issue-3893115649
https://private-user-images.githubusercontent.com/8700482/544562211-4b0f6872-139d-4ad1-bbb6-54c6d1699cd2.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDY5NTEsIm5iZiI6MTc5NTI0NjY1MSwicGF0aCI6Ii84NzAwNDgyLzU0NDU2MjIxMS00YjBmNjg3Mi0xMzlkLTRhZDEtYmJiNi01NGM2ZDE2OTljZDIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMDczNzMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NmQxZDE4MjViMWY1YTkzYjcyN2YyYmIzNDMzNDNiN2NlMDA3MjdiODE2MWE3MGM4Mzk1MzE3ZGY1Y2FkNjZjOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.LvsV3e9VkoNxugZZX-zkqB8XuDdzRu586xQUP9LYIds
https://private-user-images.githubusercontent.com/8700482/544562983-985779f6-2d6a-43f1-be4d-1ccd7eaa7b1e.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyNDY5NTEsIm5iZiI6MTc5NTI0NjY1MSwicGF0aCI6Ii84NzAwNDgyLzU0NDU2Mjk4My05ODU3NzlmNi0yZDZhLTQzZjEtYmU0ZC0xY2NkN2VhYTdiMWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMDczNzMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTBmZDlhMDQ3MGJlZjExNjlmNzNlYzBlYjQyODIxNzlkYzRkZTFhNGZjYTk2NDI4N2M3OWRjNDA5N2E1MTI2OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.tuGm4j2dnaHZgBVTg3Fx9dYt29lr7NCLFP4BMFAxPx4
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Feb 3, 2026https://github.com/angular/angular/issues/66893#issuecomment-3843589127
#10404https://github.com/angular/angular/issues/10404
JeanMechehttps://github.com/JeanMeche
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 3, 2026https://github.com/angular/angular/issues/66893#event-22508981860
JeanMechehttps://github.com/JeanMeche
duplicatehttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Aduplicate
Problem when adding dynamically a component with g[test] selector in SVG #10404https://github.com/angular/angular/issues/10404
on Feb 3, 2026https://github.com/angular/angular/issues/66893#event-22508987652
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Mar 6, 2026https://github.com/angular/angular/issues/66893#issuecomment-4008658222
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 Mar 6, 2026https://github.com/angular/angular/issues/66893#event-23315909976
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/66893
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/66893
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.