Title: getLNodeForHydration return item which have boolean property · Issue #51318 · angular/angular · GitHub
Open Graph Title: getLNodeForHydration return item which have boolean property · Issue #51318 · angular/angular
X Title: getLNodeForHydration return item which have boolean property · Issue #51318 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description hi sir, Hope you have a good day. As this issue #51157, it seem work with normal angular application. I try to reproduce it but I get fail s...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description hi sir, Hope you have a good day. As this issue #51157, it seem work with normal angular application...
X Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description hi sir, Hope you have a good day. As this issue #51157, it seem work with normal angular application...
Opengraph URL: https://github.com/angular/angular/issues/51318
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getLNodeForHydration return item which have boolean property","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\nhi sir,\r\nHope you have a good day.\r\n\r\nAs this issue https://github.com/angular/angular/issues/51157, it seem work with normal angular application. I try to reproduce it but I get fail so this repo is fine: https://codesandbox.io/p/sandbox/relaxed-feather-27fv8y. \r\n\r\n### Video deleted\r\nI can give the context, and you can skip my stupid English Voice explain :D \r\n\r\n### Step\r\n\r\n- I try to achieve dynamic html content render by ngx-dynamic-hook. It work, but as the last time, it still have flick. I try to revert everything, event use the deleted angular/core package but it still flick. \r\n- I decided to do native render instead of using library and get error.\r\n- try to debug it and get this value is true, while I think it should not be this boolean value.\r\n\r\n- the lView variable here looks like have an unexpected item which have boolean value. \r\n\r\n- the clue lead to this function, some how it not working.\r\n\r\n\r\n### Question\r\n\r\n1. So the question is, at which condition something I code become boolean value? If I can answer that. maybe I can track the real html or ts code I wrote have transform to boolean and I can make a reproduce repository. \r\n\r\n\r\nI think that all. After that I will try it again and see the reason why it still flicks on dynamic render.\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\n I try to reproduce it but I get fail so this repo is fine: https://codesandbox.io/p/sandbox/relaxed-feather-27fv8y\r\n\r\n### Please provide the exception or error you saw\r\n\r\n```true\r\nTypeError: Cannot create property 'ssrId' on boolean 'true'\r\n at getSsrId (./node_modules/@angular/core/fesm2022/core.mjs:30711:20)\r\n at serializeLContainer (./node_modules/@angular/core/fesm2022/core.mjs:30831:24)\r\n at serializeLView (./node_modules/@angular/core/fesm2022/core.mjs:30969:46)\r\n at annotateHostElementForHydration (./node_modules/@angular/core/fesm2022/core.mjs:31087:21)\r\n at annotateComponentLViewForHydration (./node_modules/@angular/core/fesm2022/core.mjs:30733:16)\r\n at annotateForHydration (./node_modules/@angular/core/fesm2022/core.mjs:30789:17)\r\n at \u003canonymous> (./node_modules/@angular/platform-server/fesm2022/platform-server.mjs:16568:30)\r\n at Generator.next (\u003canonymous>)\r\n at asyncGeneratorStep (./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js:3:1)\r\n at _next (./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js:22:1)\r\nAngular is running in development mode.\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.1.8\r\nNode: 18.15.0\r\nPackage Manager: npm 9.5.0\r\nOS: win32 x64\r\n\r\nAngular: 16.2.0\r\n... common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... platform-server, router\r\n\r\nPackage Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect 0.1601.8\r\n@angular-devkit/build-angular 16.1.8\r\n@angular-devkit/core 16.1.8\r\n@angular-devkit/schematics 16.1.8\r\n@angular/cli 16.1.8\r\n@nguniversal/builders 16.1.3\r\n@nguniversal/express-engine 16.1.3\r\n@schematics/angular 16.1.8\r\nrxjs 7.8.1\r\ntypescript 4.9.5\r\nwebpack 5.88.1\r\nzone.js 0.13.1\r\n```\r\n\r\n\r\n### Anything else?\r\n\r\nThank you so much for you support","author":{"url":"https://github.com/hiepxanh","@type":"Person","name":"hiepxanh"},"datePublished":"2023-08-10T10:13:19Z","url":"https://github.com/angular/angular/issues/51318"}
| 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:0b1ac600-5020-9b63-8a41-26757a259f6a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A94E:3F8AB1:176EFA3:1DDE7BC:6B01259F |
| html-safe-nonce | 3db31d69a6509c21793e2547a0b7f61bc4192988c1ed883f7dcbba11f5cfd371 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTRFOjNGOEFCMToxNzZFRkEzOjFEREU3QkM6NkIwMTI1OUYiLCJ2aXNpdG9yX2lkIjoiODYzMzI4MTM1MjYzODg4Nzk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2b67e6682d7755e9082493d145803444a9b0ccaa572d6d6351cec2498f278e68 |
| hovercard-subject-tag | issue:1844877265 |
| 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/51318/issue_layout |
| twitter:image | https://opengraph.githubassets.com/38fe2921fb46db013b4f681095f2642297decf0cbdcd7cc00b57607f235cd473/angular/angular/issues/51318 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/38fe2921fb46db013b4f681095f2642297decf0cbdcd7cc00b57607f235cd473/angular/angular/issues/51318 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core Is this a regression? No Description hi sir, Hope you have a good day. As this issue #51157, it seem work with normal angular application... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hiepxanh |
| 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