Title: Components created with createComponent function are not being hydrated properly · Issue #61231 · angular/angular · GitHub
Open Graph Title: Components created with createComponent function are not being hydrated properly · Issue #61231 · angular/angular
X Title: Components created with createComponent function are not being hydrated properly · Issue #61231 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description Components created with the createComponent function are being generated on the server and have ng-version and ngh. When the client is loade...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description Components created with the createComponent function are being generated on the server and have ng-v...
X Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description Components created with the createComponent function are being generated on the server and have ng-v...
Opengraph URL: https://github.com/angular/angular/issues/61231
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Components created with createComponent function are not being hydrated properly","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\ncore\n\n### Is this a regression?\n\nNo\n\n### Description\n\nComponents created with the createComponent function are being generated on the server and have `ng-version` and `ngh`.\n\nWhen the client is loaded and tries to hydrate, it regenerates the components, resulting in duplicate content.\n\nSetting `ngSkipHydration` helps to not have duplicate content, but directives do not work.\n\n### Please provide a link to a minimal reproduction of the bug\n\nhttps://stackblitz.com/edit/stackblitz-starters-mtwt34g2\n\n### Please provide the exception or error you saw\n\n```true\nNone\n```\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nAngular CLI: 19.2.7\nNode: 20.19.1\nPackage Manager: npm 10.8.2\nOS: linux x64\n\nAngular: 19.2.6\n... common, compiler, compiler-cli, core, platform-browser\n... platform-browser-dynamic, platform-server, router\n\nPackage Version\n---------------------------------------------------------\n@angular-devkit/architect 0.1902.7\n@angular-devkit/build-angular 19.2.7\n@angular-devkit/core 19.2.7\n@angular-devkit/schematics 19.2.7\n@angular/cli 19.2.7\n@angular/ssr 19.2.7\n@schematics/angular 19.2.7\nrxjs 7.8.2\ntypescript 5.8.3\n```\n\n### Anything else?\n\n_No response_","author":{"url":"https://github.com/davidbusuttil","@type":"Person","name":"davidbusuttil"},"datePublished":"2025-05-09T06:34:45Z","url":"https://github.com/angular/angular/issues/61231"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:89ff9c00-7b12-3621-3e40-dd0fb8bb2f88 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E522:2F4BD9:1215271:17E2FA1:6B011518 |
| html-safe-nonce | be8693f786b52dcfcac5b44d82c784c38b2e7c2795de70434342b6d6a777c3fe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTIyOjJGNEJEOToxMjE1MjcxOjE3RTJGQTE6NkIwMTE1MTgiLCJ2aXNpdG9yX2lkIjoiNTM5MTU1NzQ2MzA0NjY5MDA3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 95189edbb0812261d816a4f622c825bcdb277f0652a24c7041dc6b56badcd49d |
| hovercard-subject-tag | issue:3051106063 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/61231/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47e9c5f9c8a05260221bcfc23a5db53f9f4968f930616dfbbcd9d373fc186893/angular/angular/issues/61231 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47e9c5f9c8a05260221bcfc23a5db53f9f4968f930616dfbbcd9d373fc186893/angular/angular/issues/61231 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description Components created with the createComponent function are being generated on the server and have ng-v... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidbusuttil |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width