Title: Using Hydration with i18n caused duplicated component content · Issue #50627 · angular/angular · GitHub
Open Graph Title: Using Hydration with i18n caused duplicated component content · Issue #50627 · angular/angular
X Title: Using Hydration with i18n caused duplicated component content · Issue #50627 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description When we enable hydration in our project, we found that if we annotate some nodes with i18n attribute in one component, the component will be...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description When we enable hydration in our project, we found that if we annotate some nodes with i18n attribute...
X Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description When we enable hydration in our project, we found that if we annotate some nodes with i18n attribute...
Opengraph URL: https://github.com/angular/angular/issues/50627
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using Hydration with i18n caused duplicated component content","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\ncore\r\n\r\n### Is this a regression?\r\n\r\nNo\r\n\r\n### Description\r\n\r\nWhen we enable hydration in our project, we found that if we annotate some nodes with i18n attribute in one component, the component will be rendered twice.\r\n\r\nThe sample project can fully reproduce this behavior.\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\nhttps://github.com/hijamoya/i18n-hydration\r\n\r\n### Please provide the exception or error you saw\r\n\r\n```true\r\nThe i18n should work normally as the document said:\r\nAngular would skip hydration for components that use i18n blocks, effectively re-rendering those components from scratch.\r\n```\r\n\r\n\r\n### Please provide the environment you discovered this bug in (run `ng version`)\r\n\r\n```true\r\nAngular CLI: 16.0.5\r\nNode: 18.16.0\r\nPackage Manager: npm 9.5.1\r\nOS: darwin x64\r\n\r\nAngular: 16.0.5\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... localize, platform-browser, platform-browser-dynamic\r\n... platform-server, router\r\n\r\nPackage Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect 0.1600.5\r\n@angular-devkit/build-angular 16.0.5\r\n@angular-devkit/core 16.0.5\r\n@angular-devkit/schematics 16.0.5\r\n@nguniversal/builders 16.0.2\r\n@nguniversal/express-engine 16.0.2\r\n@schematics/angular 16.0.5\r\nrxjs 7.8.1\r\ntypescript 4.9.5\r\n```\r\n\r\n\r\n### Anything else?\r\n\r\n_No response_","author":{"url":"https://github.com/hijamoya","@type":"Person","name":"hijamoya"},"datePublished":"2023-06-09T01:59:25Z","url":"https://github.com/angular/angular/issues/50627"}
| 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:81a3e3fc-6c83-69a7-596b-a8fd628df7cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A586:1F4E:1C6845:258F0F:6B014379 |
| html-safe-nonce | f5b258fd9b66167c18f7ab8be9a195b8cf6ef5b018e85276d96a9be0173e1507 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTg2OjFGNEU6MUM2ODQ1OjI1OEYwRjo2QjAxNDM3OSIsInZpc2l0b3JfaWQiOiIyNzgyMjY0NDc4ODE1ODMwOTA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ccda418016e25df978d743bb3e5e4d4d813ca59af7c6be03d95fbaea80ce92a5 |
| hovercard-subject-tag | issue:1748964645 |
| 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/50627/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58eba8a46d00837e963f44095977f4b68b0b773ff2e6c3c790b0411304f41304/angular/angular/issues/50627 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58eba8a46d00837e963f44095977f4b68b0b773ff2e6c3c790b0411304f41304/angular/angular/issues/50627 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description When we enable hydration in our project, we found that if we annotate some nodes with i18n attribute... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hijamoya |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width