René's URL Explorer Experiment


Title: AsyncPipe breaks change detection with NaN values · Issue #15721 · angular/angular · GitHub

Open Graph Title: AsyncPipe breaks change detection with NaN values · Issue #15721 · angular/angular

X Title: AsyncPipe breaks change detection with NaN values · Issue #15721 · angular/angular

Description: I'm submitting a ... [x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/ma...

Open Graph Description: I'm submitting a ... [x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see ht...

X Description: I'm submitting a ... [x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, inst...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AsyncPipe breaks change detection with NaN values","articleBody":"**I'm submitting a ...**\r\n```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\n\r\nIt seems that the `AsyncPipe` emits a `WrappedValue` (which appears below as `'[object Object]'`) *then* the `NaN`, which causes an expression change:\r\n\r\n```\r\nERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '[object Object]'. Current value: 'NaN'.\r\n    at viewDebugError (errors.ts:30) [angular]\r\n    at expressionChangedAfterItHasBeenCheckedError (errors.ts:29) [angular]\r\n    at checkBindingNoChanges (util.ts:145) [angular]\r\n    at checkNoChangesNodeInline (view.ts:438) [angular]\r\n    at checkNoChangesNode (view.ts:519) [angular]\r\n    at debugCheckNoChangesNode (services.ts:387) [angular]\r\n    at debugCheckRenderNodeFn (services.ts:330) [angular]\r\n    at Object.eval [as updateRenderer] (AppComponent.html:1) [angular]\r\n    at Object.debugUpdateRenderer [as updateRenderer] (services.ts:307) [angular]\r\n    at checkNoChangesView (view.ts:368) [angular]\r\n    at callViewAction (view.ts:694) [angular]\r\n    at execComponentViewsAction (view.ts:644) [angular]\r\n    at checkNoChangesView (view.ts:368) [angular]\r\n    at callWithDebugContext (services.ts:645) [angular]\r\n```\r\n\r\n**Expected behavior**\r\n`NaN` should be handled by `| async` without breaking change detection.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\n\r\n```\r\n@Component({\r\n  selector: 'my-app',\r\n  template: `\u003ch1>Hello {{ name$ | async }}\u003c/h1>`\r\n})\r\nexport class AppComponent { \r\n  name$ = Observable.of(NaN); \r\n}\r\n```\r\n\r\nPlunkr: https://plnkr.co/edit/Dc6jwz?p=preview\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\nWe have various pipes that operate on numbers (to generate friendly and consistent representations) that are loaded asynchronously, so we have quite a few lines that look like:\r\n\r\n```\r\n{{ something$ | async | customPipe }}\r\n```\r\n\r\n**Please tell us about your environment:**\r\n\r\n* **Angular version:** 4.0.1\r\n\r\n* **Browser:** Chrome 57.0.2987.110, IE 11.0.9600.18537\r\n \r\n* **Language:** TypeScript 2.1.6 (local), 2.2.1 (Plunkr)\r\n","author":{"url":"https://github.com/textbook","@type":"Person","name":"textbook"},"datePublished":"2017-04-03T10:23:06Z","url":"https://github.com/angular/angular/issues/15721"}

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:3f84110e-84e6-52b9-270e-a149b2619def
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD948:358871:1B60F9F:24053AF:6B014C02
html-safe-noncecd15264a39bb03c67c075353873f5900f496f42b992e4ccbffa391f74d65e951
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTQ4OjM1ODg3MToxQjYwRjlGOjI0MDUzQUY6NkIwMTRDMDIiLCJ2aXNpdG9yX2lkIjoiMTg5MDI2NzM4NzEwNjc3NDAxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf59d19efca32f98fff5a383773fd68e1790d3f6cdffcf4f407798535e89ea610
hovercard-subject-tagissue:218889912
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/15721/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8e5b389c7751227e58819df424688ce051aca6cace5177167c6a119ee1cb58ab/angular/angular/issues/15721
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8e5b389c7751227e58819df424688ce051aca6cace5177167c6a119ee1cb58ab/angular/angular/issues/15721
og:image:altI'm submitting a ... [x] bug report => search github for a similar issue or PR before submitting [ ] feature request [ ] support request => Please do not submit support request here, instead see ht...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametextbook
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/15721#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F15721
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%2F15721
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/15721
Reloadhttps://github.com/angular/angular/issues/15721
Reloadhttps://github.com/angular/angular/issues/15721
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/15721
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/15721
AsyncPipe breaks change detection with NaN valueshttps://github.com/angular/angular/issues/15721#top
area: commonIssues related to APIs in the @angular/common packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%22
freq1: lowhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq1%3A%20low%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/textbook
textbookhttps://github.com/textbook
on Apr 3, 2017https://github.com/angular/angular/issues/15721#issue-218889912
https://plnkr.co/edit/Dc6jwz?p=previewhttps://plnkr.co/edit/Dc6jwz?p=preview
https://github.com/textbook
textbookhttps://github.com/textbook
on Apr 3, 2017https://github.com/angular/angular/issues/15721#issuecomment-291141047
@DzmitryShylovichhttps://github.com/DzmitryShylovich
https://github.com/yiochen
yiochenhttps://github.com/yiochen
on Apr 6, 2017https://github.com/angular/angular/issues/15721#issuecomment-292274913
http://plnkr.co/edit/yZtZjYrypmIQHQyFdukXhttp://plnkr.co/edit/yZtZjYrypmIQHQyFdukX
tboschhttps://github.com/tbosch
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
freq1: lowhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq1%3A%20low%22
severity3: brokenhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Apr 10, 2017https://github.com/angular/angular/issues/15721#event-1037279297
https://github.com/fatsu
fatsuhttps://github.com/fatsu
on May 12, 2017https://github.com/angular/angular/issues/15721#issuecomment-301004848
https://github.com/victornoel
victornoelhttps://github.com/victornoel
on Jun 30, 2017https://github.com/angular/angular/issues/15721#issuecomment-312227546
https://github.com/victornoel
victornoelhttps://github.com/victornoel
on Jul 6, 2017https://github.com/angular/angular/issues/15721#issuecomment-313383397
@tboschhttps://github.com/tbosch
https://github.com/victornoel
victornoelhttps://github.com/victornoel
on Jul 16, 2017https://github.com/angular/angular/issues/15721#issuecomment-315601205
#18129https://github.com/angular/angular/issues/18129
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
on Jan 23, 2018https://github.com/angular/angular/issues/15721#event-1437609526
trotylhttps://github.com/trotyl
on Oct 15, 2018https://github.com/angular/angular/issues/15721#event-1904181473
fix(common): treat NaN as unchanged in AsyncPipehttps://github.com/trotyl/angular/commit/6a3df4531bdeb4a7ad123f9355f1c2454538b9b2
https://docs.github.com/articles/closing-issues-via-commit-messages
6a3df45https://github.com/trotyl/angular/commit/6a3df4531bdeb4a7ad123f9355f1c2454538b9b2
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
area: commonIssues related to APIs in the @angular/common packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%22
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
on Mar 5, 2019https://github.com/angular/angular/issues/15721#event-2182223075
benleshhttps://github.com/benlesh
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
3f6bf6dhttps://github.com/angular/angular/commit/3f6bf6dfd166b994f6e99dc99f15a34cf833f8cf
on Apr 20, 2019https://github.com/angular/angular/issues/15721#event-2289263626
trotylhttps://github.com/trotyl
on Apr 22, 2019https://github.com/angular/angular/issues/15721#event-2290753502
fix(common): properly check NaN valuehttps://github.com/trotyl/angular/commit/b2e53e2f0f54b05cdb9e1dd9aa1a39fefcc15981
https://docs.github.com/articles/closing-issues-via-commit-messages
b2e53e2https://github.com/trotyl/angular/commit/b2e53e2f0f54b05cdb9e1dd9aa1a39fefcc15981
BioPhotonhttps://github.com/BioPhoton
on May 21, 2019https://github.com/angular/angular/issues/15721#event-2355184691
fix(common): properly check NaN value (angular#22305)https://github.com/BioPhoton/angular/commit/d1e69de932b85173977868c91ce0b30dd7f90b76
angular#22305https://github.com/angular/angular/pull/22305
https://docs.github.com/articles/closing-issues-via-commit-messages
d1e69dehttps://github.com/BioPhoton/angular/commit/d1e69de932b85173977868c91ce0b30dd7f90b76
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/15721#issuecomment-531522341
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/15721#event-2634386676
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/15721
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/15721
area: commonIssues related to APIs in the @angular/common packagehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20common%22
freq1: lowhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq1%3A%20low%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%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.