René's URL Explorer Experiment


Title: ExpressionChangedAfterItHasBeenCheckedError when changing a component value in afterViewInit · Issue #14748 · angular/angular · GitHub

Open Graph Title: ExpressionChangedAfterItHasBeenCheckedError when changing a component value in afterViewInit · Issue #14748 · angular/angular

X Title: ExpressionChangedAfterItHasBeenCheckedError when changing a component value in afterViewInit · Issue #14748 · angular/angular

Description: I'm submitting a ... [x] bug report [ ] feature request [ ] support request Current behavior changing a component value in afterViewInit throws ExpressionChangedAfterItHasBeenCheckedError if the value has an impact on a method used in th...

Open Graph Description: I'm submitting a ... [x] bug report [ ] feature request [ ] support request Current behavior changing a component value in afterViewInit throws ExpressionChangedAfterItHasBeenCheckedError if the va...

X Description: I'm submitting a ... [x] bug report [ ] feature request [ ] support request Current behavior changing a component value in afterViewInit throws ExpressionChangedAfterItHasBeenCheckedError if th...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ExpressionChangedAfterItHasBeenCheckedError when changing a component value in afterViewInit","articleBody":"**I'm submitting a ...**\r\n```\r\n[x] bug report\r\n[ ] feature request\r\n[ ] support request\r\n```\r\n\r\n**Current behavior**\r\nchanging a component value in afterViewInit throws `ExpressionChangedAfterItHasBeenCheckedError` if the value has an impact on a method used in the view.\r\n\r\nin the plunker:\r\n-> `getHeightPx()`  returns `0px` before  ngAfterViewInit is called (`isLoaded === undefined`) \r\n-> `getHeightPx()`  returns `100px` after  ngAfterViewInit is called (`isLoaded === true`) \r\n\r\n**Expected behavior**\r\nit should not throw the error since `getHeightPx` is just a method and not part of the model.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nhttp://plnkr.co/edit/JdhPkjBl6wc0FIc8LcUs?p=preview\r\n\r\n* **Angular version:** 4.0.0-rc.0 => KO\r\n* **Angular version:** 4.0.0-beta.8 => OK\r\n\r\n","author":{"url":"https://github.com/adrienboulle","@type":"Person","name":"adrienboulle"},"datePublished":"2017-02-26T15:12:01Z","url":"https://github.com/angular/angular/issues/14748"}

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:d67ec07b-e0a6-75c5-334a-30eb16b96123
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB59E:229B2E:1751EA8:1EBB625:6B01341D
html-safe-nonce74a17e185faf3373dfcb801e0de18d017a5e1c359a5d8e7bc48ad368bd69706e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTlFOjIyOUIyRToxNzUxRUE4OjFFQkI2MjU6NkIwMTM0MUQiLCJ2aXNpdG9yX2lkIjoiODcwOTUxNjEwODMzNzU5MTMyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7ea5c0ee3d9d79a422c272c68eb2d72558363b05297dac6a4e08c9fbd0d1f831
hovercard-subject-tagissue:210324703
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/14748/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1b28e30b366e3bc51c33cc75c8346e63bf3cf2c08bf24947bf52bf979f37eaf2/angular/angular/issues/14748
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1b28e30b366e3bc51c33cc75c8346e63bf3cf2c08bf24947bf52bf979f37eaf2/angular/angular/issues/14748
og:image:altI'm submitting a ... [x] bug report [ ] feature request [ ] support request Current behavior changing a component value in afterViewInit throws ExpressionChangedAfterItHasBeenCheckedError if the va...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameadrienboulle
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-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/14748#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F14748
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%2F14748
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/14748
Reloadhttps://github.com/angular/angular/issues/14748
Reloadhttps://github.com/angular/angular/issues/14748
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)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/14748
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/14748
ExpressionChangedAfterItHasBeenCheckedError when changing a component value in afterViewInithttps://github.com/angular/angular/issues/14748#top
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
4.0.0-blockershttps://github.com/angular/angular/milestone/72
https://github.com/adrienboulle
adrienboullehttps://github.com/adrienboulle
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issue-210324703
http://plnkr.co/edit/JdhPkjBl6wc0FIc8LcUs?p=previewhttp://plnkr.co/edit/JdhPkjBl6wc0FIc8LcUs?p=preview
Nexthttps://github.com/angular/angular/issues/14748?timeline_page=1
https://github.com/DzmitryShylovich
DzmitryShylovichhttps://github.com/DzmitryShylovich
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282564112
https://github.com/adrienboulle
adrienboullehttps://github.com/adrienboulle
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282564542
@DzmitryShylovichhttps://github.com/DzmitryShylovich
https://github.com/DzmitryShylovich
DzmitryShylovichhttps://github.com/DzmitryShylovich
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282564689
https://github.com/adrienboulle
adrienboullehttps://github.com/adrienboulle
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282565056
http://plnkr.co/edit/qjjtRtTcwAWflanmI7wr?p=previewhttp://plnkr.co/edit/qjjtRtTcwAWflanmI7wr?p=preview
https://github.com/DzmitryShylovich
DzmitryShylovichhttps://github.com/DzmitryShylovich
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282565350
http://plnkr.co/edit/lU32vBJY9KYXZUTW7GQQ?p=previewhttp://plnkr.co/edit/lU32vBJY9KYXZUTW7GQQ?p=preview
https://github.com/DzmitryShylovich
DzmitryShylovichhttps://github.com/DzmitryShylovich
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282565519
https://github.com/angular/angular/blob/master/CHANGELOG.mdhttps://github.com/angular/angular/blob/master/CHANGELOG.md
https://github.com/adrienboulle
adrienboullehttps://github.com/adrienboulle
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282565674
https://github.com/DzmitryShylovich
DzmitryShylovichhttps://github.com/DzmitryShylovich
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282565739
https://github.com/adrienboulle
adrienboullehttps://github.com/adrienboulle
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282565825
https://github.com/DzmitryShylovich
DzmitryShylovichhttps://github.com/DzmitryShylovich
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282566004
https://github.com/adrienboulle
adrienboullehttps://github.com/adrienboulle
on Feb 26, 2017https://github.com/angular/angular/issues/14748#issuecomment-282567076
http://plnkr.co/edit/I51JWge8P5oY0mj2Ni65?p=previewhttp://plnkr.co/edit/I51JWge8P5oY0mj2Ni65?p=preview
adrienboullehttps://github.com/adrienboulle
on Feb 26, 2017https://github.com/angular/angular/issues/14748#event-977563797
adrienboullehttps://github.com/adrienboulle
on Feb 26, 2017https://github.com/angular/angular/issues/14748#event-977563850
https://github.com/chunghha
chunghhahttps://github.com/chunghha
on Feb 28, 2017https://github.com/angular/angular/issues/14748#issuecomment-283085629
https://plnkr.co/edit/atBNGvMgC3QxSGk7Sm6f?p=previewhttps://plnkr.co/edit/atBNGvMgC3QxSGk7Sm6f?p=preview
@youdzhttps://github.com/youdz
IgorMinarhttps://github.com/IgorMinar
on Feb 28, 2017https://github.com/angular/angular/issues/14748#event-980920040
https://github.com/zoechi
zoechihttps://github.com/zoechi
on Jul 18, 2017https://github.com/angular/angular/issues/14748#issuecomment-316137707
https://github.com/MikeDub
MikeDubhttps://github.com/MikeDub
on Jul 21, 2017https://github.com/angular/angular/issues/14748#issuecomment-316902989
https://github.com/dgroh
dgrohhttps://github.com/dgroh
on Jul 24, 2017https://github.com/angular/angular/issues/14748#issuecomment-317574207
#15634https://github.com/angular/angular/issues/15634
https://github.com/minuz
minuzhttps://github.com/minuz
on Aug 4, 2017https://github.com/angular/angular/issues/14748#issuecomment-320139557
asnowwolfhttps://github.com/asnowwolf
on Aug 11, 2017https://github.com/angular/angular/issues/14748#event-1201913380
fix(core): don’t throw if queries change during change detection.https://github.com/asnowwolf/angular/commit/462b815f8a52fcfc0b10af9b730f86a7bcf0b622
462b815https://github.com/asnowwolf/angular/commit/462b815f8a52fcfc0b10af9b730f86a7bcf0b622
juleskremerhttps://github.com/juleskremer
on Aug 28, 2017https://github.com/angular/angular/issues/14748#event-1224652617
fix(core): don’t throw if queries change during change detection.https://github.com/juleskremer/angular/commit/7a7ea45fa0c9239f1bb01e5c18f1d986227cfb09
7a7ea45https://github.com/juleskremer/angular/commit/7a7ea45fa0c9239f1bb01e5c18f1d986227cfb09
https://github.com/abdel-ships-it
abdel-ships-ithttps://github.com/abdel-ships-it
on Dec 22, 2017https://github.com/angular/angular/issues/14748#issuecomment-353604393
@victornoelhttps://github.com/victornoel
thishttps://v2.angular.io/docs/ts/latest/api/core/index/WrappedValue-class.html
jackkoppahttps://github.com/jackkoppa
on Feb 1, 2018https://github.com/angular/angular/issues/14748#event-1452257823
Fix ExpressionChanged error by using AfterContentInithttps://github.com/jackkoppa/cityaq/commit/7c88f98c931c0ced38f819cca0efc08d5a18632c
7c88f98https://github.com/jackkoppa/cityaq/commit/7c88f98c931c0ced38f819cca0efc08d5a18632c
https://github.com/sandraacha9
sandraacha9https://github.com/sandraacha9
on Mar 2, 2018https://github.com/angular/angular/issues/14748#issuecomment-369897920
https://blog.angularindepth.com/everything-you-need-to-know-about-the-expressionchangedafterithasbeencheckederror-error-e3fd9ce7dbb4https://blog.angularindepth.com/everything-you-need-to-know-about-the-expressionchangedafterithasbeencheckederror-error-e3fd9ce7dbb4
https://blog.angularindepth.com/everything-you-need-to-know-about-the-expressionchangedafterithasbeencheckederror-error-e3fd9ce7dbb4https://blog.angularindepth.com/everything-you-need-to-know-about-the-expressionchangedafterithasbeencheckederror-error-e3fd9ce7dbb4
https://github.com/enoh-barbu
enoh-barbuhttps://github.com/enoh-barbu
on Jun 18, 2018https://github.com/angular/angular/issues/14748#issuecomment-398025169
@sandraacha9https://github.com/sandraacha9
enoh-barbuhttps://github.com/enoh-barbu
tboschhttps://github.com/tbosch
on Jun 18, 2018https://github.com/angular/angular/issues/14748#event-1685949134
https://github.com/tisak
tisakhttps://github.com/tisak
on Feb 8, 2019https://github.com/angular/angular/issues/14748#issuecomment-461939286
https://stackoverflow.com/questions/48457666/expressionchangedafterithasbeencheckederror-in-ngoninithttps://stackoverflow.com/questions/48457666/expressionchangedafterithasbeencheckederror-in-ngoninit
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 14, 2019https://github.com/angular/angular/issues/14748#issuecomment-531492972
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 14, 2019https://github.com/angular/angular/issues/14748#event-2634215846
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/14748
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/14748
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
4.0.0-blockershttps://github.com/angular/angular/milestone/72
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.