Title: ExpressionChangedAfterChecked error improvements for Ivy · Issue #34454 · angular/angular · GitHub
Open Graph Title: ExpressionChangedAfterChecked error improvements for Ivy · Issue #34454 · angular/angular
X Title: ExpressionChangedAfterChecked error improvements for Ivy · Issue #34454 · angular/angular
Description: PR #34381 improves ExpressionChangedAfterChecked error by adding property name for property bindings and also the content of the entire property interpolation. There are few more things that we can improve: for attribute bindings and int...
Open Graph Description: PR #34381 improves ExpressionChangedAfterChecked error by adding property name for property bindings and also the content of the entire property interpolation. There are few more things that we can...
X Description: PR #34381 improves ExpressionChangedAfterChecked error by adding property name for property bindings and also the content of the entire property interpolation. There are few more things that we can...
Opengraph URL: https://github.com/angular/angular/issues/34454
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ExpressionChangedAfterChecked error improvements for Ivy","articleBody":"PR #34381 improves `ExpressionChangedAfterChecked` error by adding property name for property bindings and also the content of the entire property interpolation. There are few more things that we can improve:\r\n\r\n- [x] ~~for attribute bindings and interpolations, include attribute name and the entire expression (similar to property bindings and interpolations)~~. Implemented in PR #34505.\r\n\r\n- [x] ~~for text interpolations (like `Some exp {{ exp1 }} and {{ exp2 }}`), we can store metadata in `tView.data` and display the whole block when we throw an error (making sure we limit the length of the output from interpolation)~~. Implemented in PR #34520.\r\n\r\n- [x] ~~when expression value is an object, the `[Object object]` is printed, we can `JSON.stringify` it (or smth similar) and limit it to 1000 chars or so~~.\r\n\r\n- [ ] for i18n attributes (like `\u003cdiv i18n-title title=\"Some exp {{ exp1 }}\">\u003c/div>`) we can extract property name from i18n metadata (stored in `tView.data`, but using a different format). Currently property name for such cases are not be included into `ExpressionChangedAfterChecked` error.\r\n\r\n- [x] ~~Include component's name into the error message, so that it's easier to find the template where the problem happened~~. Implemented in #50286.\r\n\r\n- [ ] Consider including an expression that caused the problem (should work for text interpolations at least). However this is not trivial, since it'd require changes to the generated code and including the `ngDevMode` flag, so that this extra debug info doesn't make it into prod bundles.","author":{"url":"https://github.com/AndrewKushnir","@type":"Person","name":"AndrewKushnir"},"datePublished":"2019-12-17T20:32:15Z","url":"https://github.com/angular/angular/issues/34454"}
| 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:b03ee656-6499-cdf5-b703-63deb9b66354 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFFC:D0E46:195AD7D:215CA79:6B01430E |
| html-safe-nonce | f8e1f26d65b6b2178f843c0d14c7cff592a6f76437c4fbcff6cb66dc769cb705 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkZDOkQwRTQ2OjE5NUFEN0Q6MjE1Q0E3OTo2QjAxNDMwRSIsInZpc2l0b3JfaWQiOiI2NTk2MTQxODEzOTc0NDc0MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9ea166c4e55227e630b211a4321d7a8601c856c2f8600e986c0090946dbf8eb2 |
| hovercard-subject-tag | issue:539294909 |
| 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/34454/issue_layout |
| twitter:image | https://opengraph.githubassets.com/58fb60797a540e6e2d1f65913797d28a8f5226a346ac2c719a0a683a21bb673f/angular/angular/issues/34454 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/58fb60797a540e6e2d1f65913797d28a8f5226a346ac2c719a0a683a21bb673f/angular/angular/issues/34454 |
| og:image:alt | PR #34381 improves ExpressionChangedAfterChecked error by adding property name for property bindings and also the content of the entire property interpolation. There are few more things that we can... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AndrewKushnir |
| 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