René's URL Explorer Experiment


Title: Ivy: Render HTML from String / dynamic rendering · Issue #44660 · angular/angular · GitHub

Open Graph Title: Ivy: Render HTML from String / dynamic rendering · Issue #44660 · angular/angular

X Title: Ivy: Render HTML from String / dynamic rendering · Issue #44660 · angular/angular

Description: Which @angular/* package(s) are relevant/releated to the feature request? compiler, core, platform-browser-dynamic, platform-browser Description As far as I know the old aproach was to inject the JITCompiler and use it to render your HTM...

Open Graph Description: Which @angular/* package(s) are relevant/releated to the feature request? compiler, core, platform-browser-dynamic, platform-browser Description As far as I know the old aproach was to inject the J...

X Description: Which @angular/* package(s) are relevant/releated to the feature request? compiler, core, platform-browser-dynamic, platform-browser Description As far as I know the old aproach was to inject the J...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ivy: Render HTML from String / dynamic rendering","articleBody":"### Which @angular/* package(s) are relevant/releated to the feature request?\n\ncompiler, core, platform-browser-dynamic, platform-browser\n\n### Description\n\nAs far as I know the old aproach was to inject the JITCompiler and use it to render your HTML in an anonymous component.\r\nThis worked so far. I use editable HTML in DB which uses key features as substituting variables and directives like *ngIf or  *ngSwitch.\r\n\r\nWhich does not work anymore in production mode (Angular 12.x)\r\nI browsed stackoverflow and other forums to find an workarround for this and these are not working anymore (like loading the JITCompiler into Providers, which results in  \"JIT Compiler unavailable\". \r\n \r\nAs I found not soulution for ivy/ng 12 i considered this feature as still missing. \r\n\r\nBest,\r\n\r\nMalte\r\n\n\n### Proposed solution\n\nComponent to render html strings.\r\n\r\nExample:\r\n``` Html\r\n\u003crender-component [html]=\"...\" [render-data]=\"{ show: true}>\u003c/render-component>\r\n````\r\n\r\n[html] has the following value:\r\n``` Javascript\r\n\"\u003cp *ngIf=\\\"show\\\">Hello!\u003c/p>\"\r\n```\r\n\r\nWhich display in the case if show is true:\r\n\r\n``` Html\r\n\u003cp>Hello!\u003c/p>\r\n```\r\n\r\n\n\n### Alternatives considered\n\nAn Service to render html on the fly.\r\n\r\n\r\nE.g.:\r\n\r\n[p3x-compile](https://github.com/patrikx3/angular-compile)\r\n[Html Compile](https://github.com/codehint-ng/ng-controls/blob/master/projects/html-compiler/src/lib/html-compiler.component.ts)\r\n\r\n","author":{"url":"https://github.com/nfMalde","@type":"Person","name":"nfMalde"},"datePublished":"2022-01-07T15:35:14Z","url":"https://github.com/angular/angular/issues/44660"}

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:b209ab1b-e4f9-bac0-9399-c66d21796821
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE09A:215B92:EE9F90:13E6484:6B010BA8
html-safe-nonce97ec267e96893d0be2a063cfd70871cb67563acf6141b9e9f7519c41985f265b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDlBOjIxNUI5MjpFRTlGOTA6MTNFNjQ4NDo2QjAxMEJBOCIsInZpc2l0b3JfaWQiOiI2Nzk4MDc2MjE3ODgzOTU0MDg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf3a7865f138d8e0f34ab7bbcd589b862b29281c6e3f864ba10eb9c547f7eba9f
hovercard-subject-tagissue:1096424881
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/44660/issue_layout
twitter:imagehttps://opengraph.githubassets.com/acd3b8f34e19425a4668286c3c60ae706dfd69d2477365e7de1eb2d0b493dd83/angular/angular/issues/44660
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/acd3b8f34e19425a4668286c3c60ae706dfd69d2477365e7de1eb2d0b493dd83/angular/angular/issues/44660
og:image:altWhich @angular/* package(s) are relevant/releated to the feature request? compiler, core, platform-browser-dynamic, platform-browser Description As far as I know the old aproach was to inject the J...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamenfMalde
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-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/44660#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F44660
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%2F44660
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/44660
Reloadhttps://github.com/angular/angular/issues/44660
Reloadhttps://github.com/angular/angular/issues/44660
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/44660
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/44660
Ivy: Render HTML from String / dynamic renderinghttps://github.com/angular/angular/issues/44660#top
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
compiler: jithttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22compiler%3A%20jit%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
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/nfMalde
nfMaldehttps://github.com/nfMalde
on Jan 7, 2022https://github.com/angular/angular/issues/44660#issue-1096424881
p3x-compilehttps://github.com/patrikx3/angular-compile
Html Compilehttps://github.com/codehint-ng/ng-controls/blob/master/projects/html-compiler/src/lib/html-compiler.component.ts
Nexthttps://github.com/angular/angular/issues/44660?timeline_page=1
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Jan 7, 2022https://github.com/angular/angular/issues/44660#issuecomment-1007505364
https://github.com/nfMalde
nfMaldehttps://github.com/nfMalde
on Jan 7, 2022https://github.com/angular/angular/issues/44660#issuecomment-1007534156
HtmlCompilerhttps://github.com/codehint-ng/ng-controls/blob/master/projects/html-compiler/src/lib/html-compiler.component.ts
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Jan 7, 2022https://github.com/angular/angular/issues/44660#issuecomment-1007556519
https://github.com/nfMalde
nfMaldehttps://github.com/nfMalde
on Jan 8, 2022https://github.com/angular/angular/issues/44660#issuecomment-1007878161
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Jan 8, 2022https://github.com/angular/angular/issues/44660#issuecomment-1008125402
#37216https://github.com/angular/angular/issues/37216
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
on Jan 9, 2022https://github.com/angular/angular/issues/44660#event-5862137693
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Jan 9, 2022https://github.com/angular/angular/issues/44660#event-5862137714
https://github.com/nfMalde
nfMaldehttps://github.com/nfMalde
on Jan 10, 2022https://github.com/angular/angular/issues/44660#issuecomment-1008940657
alxhubhttps://github.com/alxhub
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22feature%22
on Jan 13, 2022https://github.com/angular/angular/issues/44660#event-5889807996
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Jan 13, 2022https://github.com/angular/angular/issues/44660#event-5889808110
https://github.com/apps/angular-robot
angular-robothttps://github.com/apps/angular-robot
on Jan 14, 2022https://github.com/angular/angular/issues/44660#issuecomment-1013142772
documentationhttps://github.com/angular/angular/blob/e29eb8abfbfdfb793e08ac88e14b7ba6d2ff2136/docs/GITHUB_PROCESS.md#feature-request-process
angular-robothttps://github.com/apps/angular-robot
votes requiredhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22votes%20required%22
on Jan 14, 2022https://github.com/angular/angular/issues/44660#event-5894990199
https://github.com/hydra1983
hydra1983https://github.com/hydra1983
on Jan 19, 2022https://github.com/angular/angular/issues/44660#issuecomment-1016050810
@nfMaldehttps://github.com/nfMalde
https://github.com/hydra1983
hydra1983https://github.com/hydra1983
on Feb 8, 2022https://github.com/angular/angular/issues/44660#issuecomment-1032606919
https://github.com/PH-Lars
PH-Larshttps://github.com/PH-Lars
on Mar 14, 2023https://github.com/angular/angular/issues/44660#issuecomment-1468377368
https://github.com/PH-Lars
PH-Larshttps://github.com/PH-Lars
on Mar 15, 2023https://github.com/angular/angular/issues/44660#issuecomment-1470268474
https://github.com/marvinerkes
marvinerkeshttps://github.com/marvinerkes
on Apr 25, 2023https://github.com/angular/angular/issues/44660#issuecomment-1521613856
https://user-images.githubusercontent.com/20131313/234259714-06f5c653-f8d3-46d4-b88f-1050ae66f282.png
https://github.com/jamend
jamendhttps://github.com/jamend
on May 11, 2023https://github.com/angular/angular/issues/44660#issuecomment-1544520241
#47160https://github.com/angular/angular/issues/47160
#48034https://github.com/angular/angular/issues/48034
angular/angular-cli#22570https://github.com/angular/angular-cli/issues/22570
https://github.com/Strazz1337
Strazz1337https://github.com/Strazz1337
on Jul 9, 2023https://github.com/angular/angular/issues/44660#issuecomment-1627794112
#47160https://github.com/angular/angular/issues/47160
#48034https://github.com/angular/angular/issues/48034
angular/angular-cli#22570https://github.com/angular/angular-cli/issues/22570
https://github.com/hiepxanh
hiepxanhhttps://github.com/hiepxanh
on Aug 5, 2023https://github.com/angular/angular/issues/44660#issuecomment-1666379543
#51157https://github.com/angular/angular/issues/51157
https://github.com/MTobisch/ngx-dynamic-hookshttps://github.com/MTobisch/ngx-dynamic-hooks
Angular-Dynamic-Hooks/ngx-dynamic-hooks#34https://github.com/Angular-Dynamic-Hooks/ngx-dynamic-hooks/issues/34
https://github.com/ng-sp7
ng-sp7https://github.com/ng-sp7
on Oct 26, 2023https://github.com/angular/angular/issues/44660#issuecomment-1780324281
https://github.com/ildarnabiev
ildarnabievhttps://github.com/ildarnabiev
on Dec 22, 2023https://github.com/angular/angular/issues/44660#issuecomment-1867738692
https://github.com/NoelDeMartin
NoelDeMartinhttps://github.com/NoelDeMartin
on Mar 4, 2024https://github.com/angular/angular/issues/44660#issuecomment-1976349160
patch-packagehttps://www.npmjs.com/package/patch-package
R3SelectorScopeModehttps://github.com/angular/angular/blob/17.1.0/packages/compiler/src/render3/r3_module_compiler.ts#L20
NoelDeMartinhttps://github.com/NoelDeMartin
on Mar 4, 2024https://github.com/angular/angular/issues/44660#event-11997612992
MOBILE-4527 compile: Fix JIT moduleshttps://github.com/NoelDeMartin/moodleapp/commit/afb5ce3cdeb50d86dffe718ddfc87b37c0d10595
afb5ce3https://github.com/NoelDeMartin/moodleapp/commit/afb5ce3cdeb50d86dffe718ddfc87b37c0d10595
https://github.com/vojtechmarek-dev
vojtechmarek-devhttps://github.com/vojtechmarek-dev
on Mar 27, 2024https://github.com/angular/angular/issues/44660#issuecomment-2022158122
thishttps://github.com/angular/angular/issues/44660#issuecomment-1976349160
comment https://github.com/angular/angular-cli/issues/22570#issuecomment-1026948284
https://github.com/alxhub
alxhubhttps://github.com/alxhub
on Mar 29, 2024https://github.com/angular/angular/issues/44660#issuecomment-2027510144
@NoelDeMartinhttps://github.com/NoelDeMartin
https://github.com/NoelDeMartin
NoelDeMartinhttps://github.com/NoelDeMartin
on Apr 2, 2024https://github.com/angular/angular/issues/44660#issuecomment-2031509088
@alxhubhttps://github.com/alxhub
angular/packages/compiler-cli/private/tooling.tshttps://github.com/angular/angular/blob/d74ee6e343ef319acb33d5e05bf96b3150050266/packages/compiler-cli/private/tooling.ts#L31
d74ee6ehttps://github.com/angular/angular/commit/d74ee6e343ef319acb33d5e05bf96b3150050266
#44660 (comment)https://github.com/angular/angular/issues/44660#issuecomment-1976349160
yunlai0086https://github.com/yunlai0086
on Apr 2, 2024https://github.com/angular/angular/issues/44660#event-12323268951
MOBILE-4527 compile: Fix JIT moduleshttps://github.com/yunlai0086/my-moodleapp/commit/a684fa2212686e50ffb05505dedb83131a1f78f0
a684fa2https://github.com/yunlai0086/my-moodleapp/commit/a684fa2212686e50ffb05505dedb83131a1f78f0
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Jul 14, 2025https://github.com/angular/angular/issues/44660#issuecomment-3071268116
https://stackblitz.com/edit/stackblitz-starters-2bgkkszphttps://stackblitz.com/edit/stackblitz-starters-2bgkkszp
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/44660
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/44660
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
compiler: jithttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22compiler%3A%20jit%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
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.