René's URL Explorer Experiment


Title: Certain `@let` values can mimic internal data structure, breaking basic runtime logic · Issue #59504 · angular/angular · GitHub

Open Graph Title: Certain `@let` values can mimic internal data structure, breaking basic runtime logic · Issue #59504 · angular/angular

X Title: Certain `@let` values can mimic internal data structure, breaking basic runtime logic · Issue #59504 · angular/angular

Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? Yes Description Before hydration and using signals my code worked. I refactored it to use signals and incremental hydration and it broke. The error message...

Open Graph Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? Yes Description Before hydration and using signals my code worked. I refactored it to use signals and incremental h...

X Description: Which @angular/* package(s) are the source of the bug? core Is this a regression? Yes Description Before hydration and using signals my code worked. I refactored it to use signals and incremental h...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Certain `@let` values can mimic internal data structure, breaking basic runtime logic","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\ncore\n\n### Is this a regression?\n\nYes\n\n### Description\n\nBefore hydration and using signals my code worked. I refactored it to use signals and incremental hydration and it broke. The error message was not really meaningful: `Cannot add property i18nNodes, object is not extensible`\n\nI use [apollo-angular](https://www.npmjs.com/package/apollo-angular) which freezes every object in its state and results. The state cannot be modified.\n\n### Please provide a link to a minimal reproduction of the bug\n\n_No response_\n\n### Please provide the exception or error you saw\n\n```true\nCannot add property i18nNodes, object is not extensible\n\nThe line where the error has happened is https://github.com/angular/angular/blob/4491704fbaec02db8eec5845ffbb200dbf2a0bf6/packages/core/src/hydration/i18n.ts#L660\n```\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nNX 20.3.0\nAngular 19.0.5\nAngular SSR 19.0.6\n```\n\n### Anything else?\n\nWorkaround:\n\nUnfreeze the object using some hacky js code: `const unfrozenObj = JSON.parse(JSON.stringify(obj));`\n\nPossible solutions:\nCheck before trying to set the values if the object is frozen using: `Object.isExtensible(object)`.\n1. Throw an error that the state is not extensible and provide some information on the current component which has the error.\n2. Show a warning during development and provide some information on the current component which has the error. In production mode ignore it.\n3. Ignore setting the values without any warning.\n\nI am very happy to code and make a PR on any of the solutions if the Angular team has decided.","author":{"url":"https://github.com/csutorasr","@type":"Person","name":"csutorasr"},"datePublished":"2025-01-13T16:40:46Z","url":"https://github.com/angular/angular/issues/59504"}

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:0b5c2a29-fd9e-985e-f12a-8624b47f1e4b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC4F6:1AE20C:352A365:43578C4:6B01D8ED
html-safe-nonce488dc3a75828939ca3a6d86467607e8997cc2d9eaf84648515f554304977eddf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNEY2OjFBRTIwQzozNTJBMzY1OjQzNTc4QzQ6NkIwMUQ4RUQiLCJ2aXNpdG9yX2lkIjoiMTg0MjEzMDY0Njc2MTM3MTk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb94efb495f2d7c6e409a1290d918b2cc42268ceaac5f8a542a8b84862b9f8570
hovercard-subject-tagissue:2784573825
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/59504/issue_layout
twitter:imagehttps://opengraph.githubassets.com/61fc671aef4ec5b622699888d48ffb793721b052dc5b6d6c8be853a78186878a/angular/angular/issues/59504
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/61fc671aef4ec5b622699888d48ffb793721b052dc5b6d6c8be853a78186878a/angular/angular/issues/59504
og:image:altWhich @angular/* package(s) are the source of the bug? core Is this a regression? Yes Description Before hydration and using signals my code worked. I refactored it to use signals and incremental h...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecsutorasr
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-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/59504#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F59504
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%2F59504
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/59504
Reloadhttps://github.com/angular/angular/issues/59504
Reloadhttps://github.com/angular/angular/issues/59504
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests142 (142)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/59504
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/59504
#59694https://github.com/angular/angular/pull/59694
Certain @let values can mimic internal data structure, breaking basic runtime logichttps://github.com/angular/angular/issues/59504#top
#59694https://github.com/angular/angular/pull/59694
https://github.com/crisbeto
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
bughttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22bug%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/csutorasr
csutorasrhttps://github.com/csutorasr
on Jan 13, 2025https://github.com/angular/angular/issues/59504#issue-2784573825
apollo-angularhttps://www.npmjs.com/package/apollo-angular
Nexthttps://github.com/angular/angular/issues/59504?timeline_page=1
JeanMechehttps://github.com/JeanMeche
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
on Jan 13, 2025https://github.com/angular/angular/issues/59504#event-15908920113
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Jan 13, 2025https://github.com/angular/angular/issues/59504#issuecomment-2587670647
kirjshttps://github.com/kirjs
area: i18nIssues related to localization and internationalizationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20i18n%22
on Jan 13, 2025https://github.com/angular/angular/issues/59504#event-15909500617
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
on Jan 13, 2025https://github.com/angular/angular/issues/59504#event-15909501112
https://github.com/csutorasr
csutorasrhttps://github.com/csutorasr
on Jan 13, 2025https://github.com/angular/angular/issues/59504#issuecomment-2587884473
https://private-user-images.githubusercontent.com/6360699/402653827-c2f92881-dca0-4aef-9dfd-38e7a821479c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyODM0ODIsIm5iZiI6MTc5NTI4MzE4MiwicGF0aCI6Ii82MzYwNjk5LzQwMjY1MzgyNy1jMmY5Mjg4MS1kY2EwLTRhZWYtOWRmZC0zOGU3YTgyMTQ3OWMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MTEyMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjExMjFUMTc0NjIyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGEwNzE3NWQzMTliMDYzNDU0NWU1YTYzOGQ0ZTg1YzZmNTVjMDI0YzBkNDE2NjU2OTcyY2M0NzExMDBkM2Y2NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.ue9wC6Qk2UqDYSKrIr1uA61Uvo8GPCXgp3MCS-c5zJc
https://stackblitz.com/edit/stackblitz-starters-v39odskh?file=src%2Fapp%2Fapp.component.tshttps://stackblitz.com/edit/stackblitz-starters-v39odskh?file=src%2Fapp%2Fapp.component.ts
https://github.com/csutorasr
csutorasrhttps://github.com/csutorasr
on Jan 14, 2025https://github.com/angular/angular/issues/59504#issuecomment-2589249353
this optimizationhttps://github.com/angular/angular/blob/412ac303bc926d8e929361cc776505bb0d8b4da4/packages/compiler/src/template/pipeline/src/phases/store_let_optimization.ts#L19
https://github.com/csutorasr
csutorasrhttps://github.com/csutorasr
on Jan 14, 2025https://github.com/angular/angular/issues/59504#issuecomment-2589443968
angular/packages/core/src/hydration/i18n.tshttps://github.com/angular/angular/blob/4491704fbaec02db8eec5845ffbb200dbf2a0bf6/packages/core/src/hydration/i18n.ts#L650
4491704https://github.com/angular/angular/commit/4491704fbaec02db8eec5845ffbb200dbf2a0bf6
https://github.com/csutorasr
csutorasrhttps://github.com/csutorasr
on Jan 14, 2025https://github.com/angular/angular/issues/59504#issuecomment-2589459789
angular/packages/core/src/hydration/cleanup.tshttps://github.com/angular/angular/blob/412ac303bc926d8e929361cc776505bb0d8b4da4/packages/core/src/hydration/cleanup.ts#L99
412ac30https://github.com/angular/angular/commit/412ac303bc926d8e929361cc776505bb0d8b4da4
angular/packages/core/src/hydration/cleanup.tshttps://github.com/angular/angular/blob/412ac303bc926d8e929361cc776505bb0d8b4da4/packages/core/src/hydration/cleanup.ts#L106
412ac30https://github.com/angular/angular/commit/412ac303bc926d8e929361cc776505bb0d8b4da4
angular/packages/core/src/render3/interfaces/type_checks.tshttps://github.com/angular/angular/blob/412ac303bc926d8e929361cc776505bb0d8b4da4/packages/core/src/render3/interfaces/type_checks.ts#L19
412ac30https://github.com/angular/angular/commit/412ac303bc926d8e929361cc776505bb0d8b4da4
https://github.com/JeanMeche
JeanMechehttps://github.com/JeanMeche
on Jan 14, 2025https://github.com/angular/angular/issues/59504#issuecomment-2591205232
JeanMechehttps://github.com/JeanMeche
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
core: hydrationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20hydration%22
area: i18nIssues related to localization and internationalizationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20i18n%22
needs reproductionThis issue needs a reproduction in order for the team to investigate furtherhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22needs%20reproduction%22
on Jan 14, 2025https://github.com/angular/angular/issues/59504#event-15930801916
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
needsTriagehttps://github.com/angular/angular/milestone/83
on Jan 14, 2025https://github.com/angular/angular/issues/59504#event-15930802130
AndrewKushnirhttps://github.com/AndrewKushnir
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
core: hydrationhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22core%3A%20hydration%22
on Jan 16, 2025https://github.com/angular/angular/issues/59504#event-15950401117
AndrewKushnirhttps://github.com/AndrewKushnir
on Jan 16, 2025https://github.com/angular/angular/issues/59504#event-15950421528
https://github.com/AndrewKushnir
AndrewKushnirhttps://github.com/AndrewKushnir
on Jan 16, 2025https://github.com/angular/angular/issues/59504#issuecomment-2594406313
@alxhubhttps://github.com/alxhub
https://github.com/csutorasr
csutorasrhttps://github.com/csutorasr
on Jan 16, 2025https://github.com/angular/angular/issues/59504#issuecomment-2595077174
@AndrewKushnirhttps://github.com/AndrewKushnir
https://github.com/AndrewKushnir
AndrewKushnirhttps://github.com/AndrewKushnir
on Jan 17, 2025https://github.com/angular/angular/issues/59504#issuecomment-2597209159
@csutorasrhttps://github.com/csutorasr
crisbetohttps://github.com/crisbeto
on Jan 24, 2025https://github.com/angular/angular/issues/59504#event-16055408393
fix(core): avoid confusion between let value and internal data struct…https://github.com/crisbeto/angular/commit/41780c1a0561acc27e9302e0fe0edd1f53867788
https://docs.github.com/articles/closing-issues-via-commit-messages
41780c1https://github.com/crisbeto/angular/commit/41780c1a0561acc27e9302e0fe0edd1f53867788
crisbetohttps://github.com/crisbeto
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%22
on Jan 24, 2025https://github.com/angular/angular/issues/59504#event-16055408673
https://github.com/griest024
griest024https://github.com/griest024
on Oct 3, 2025https://github.com/angular/angular/issues/59504#issuecomment-3366342663
https://github.com/csutorasr
csutorasrhttps://github.com/csutorasr
on Oct 27, 2025https://github.com/angular/angular/issues/59504#issuecomment-3452251558
@griest024https://github.com/griest024
csutorasrhttps://github.com/csutorasr
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 27, 2025https://github.com/angular/angular/issues/59504#event-20530524097
https://github.com/csutorasr
csutorasrhttps://github.com/csutorasr
on Oct 27, 2025https://github.com/angular/angular/issues/59504#issuecomment-3452269573
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 27, 2025https://github.com/angular/angular/issues/59504#issuecomment-3583611418
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 Nov 27, 2025https://github.com/angular/angular/issues/59504#event-21207502278
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/59504
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/59504
crisbetohttps://github.com/crisbeto
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
bughttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22bug%22
state: has PRhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20has%20PR%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.