René's URL Explorer Experiment


Title: VSCode thinks there are 2 definitions of a React Component · Issue #24809 · microsoft/TypeScript · GitHub

Open Graph Title: VSCode thinks there are 2 definitions of a React Component · Issue #24809 · microsoft/TypeScript

X Title: VSCode thinks there are 2 definitions of a React Component · Issue #24809 · microsoft/TypeScript

Description: From Michael O'Connell (@mdo5004) on June 8, 2018 14:47 VSCode thinks there are 2 definitions of a React Component This issue was brought up recently but without sufficient info. Here is a minimal reproduction example: VSCode Version: 1....

Open Graph Description: From Michael O'Connell (@mdo5004) on June 8, 2018 14:47 VSCode thinks there are 2 definitions of a React Component This issue was brought up recently but without sufficient info. Here is a minimal ...

X Description: From Michael O'Connell (@mdo5004) on June 8, 2018 14:47 VSCode thinks there are 2 definitions of a React Component This issue was brought up recently but without sufficient info. Here is a mini...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/24809

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"VSCode thinks there are 2 definitions of a React Component","articleBody":"_From @mdo5004 on June 8, 2018 14:47_\n\n\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\nVSCode thinks there are 2 definitions of a React Component\r\n\r\nThis issue was brought up recently but without sufficient info. Here is a minimal reproduction example:\r\n\r\n\u003c!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: 1.24.0\r\n- OS Version: MacOS High Sierra 10.13.4 (17E202)\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a React app\r\n```bash\r\n$ create-react-app my-bug-example\r\n$ code my-bug-example\r\n```\r\n2. Change src/App.js to \r\n\r\n```\r\nimport React, { Component } from 'react';\r\n\r\nclass App extends Component {\r\n  render() {\r\n    return (\r\n      \u003cdiv className=\"App\">\r\n      \u003cMyComponent />\r\n      \u003c/div>\r\n    );\r\n  }\r\n}\r\n\r\nexport default App;\r\n\r\nclass MyComponent extends Component {\r\n  render(){\r\n    return \u003cMySingleComponent text=\"Instance 1\" />\r\n  }\r\n}\r\n\r\nclass MySingleComponent extends Component {\r\n  render(){\r\n    return \u003cp>{text}\u003c/p>\r\n  }\r\n}\r\n\r\n```\r\n3. CMD + hover on `\u003cMySingleComponent text=\"Instance 1\" />`\r\n\r\n\u003cimg width=\"518\" alt=\"screen shot 2018-06-08 at 10 33 09 am\" src=\"https://user-images.githubusercontent.com/12416969/41164179-88c8ed18-6b08-11e8-9619-8e1f5d093f59.png\">\r\n\r\n4. CMD + click on `\u003cMySingleComponent text=\"Instance 1\" />`\r\n\r\n\u003cimg width=\"471\" alt=\"screen shot 2018-06-08 at 10 33 26 am\" src=\"https://user-images.githubusercontent.com/12416969/41164182-8b65331a-6b08-11e8-98ab-975f5e18e2ff.png\">\r\n\r\n\u003c!-- Launch with `code --disable-extensions` to check. -->\r\nDoes this issue occur when all extensions are disabled?: **Yes**\r\n\n\n_Copied from original issue: Microsoft/vscode#51459_","author":{"url":"https://github.com/mjbvz","@type":"Person","name":"mjbvz"},"datePublished":"2018-06-08T20:28:56Z","url":"https://github.com/microsoft/TypeScript/issues/24809"}

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:70b13ef2-d3ef-2657-feb9-ad26cfdc39a1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA6F8:38C5CF:2A6ADCB:35CB787:6B018C0F
html-safe-nonced39ce0ad68917fe30a27995c2f0fa3d05ca71fce85e657fec92ce0017c2e5c31
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkY4OjM4QzVDRjoyQTZBRENCOjM1Q0I3ODc6NkIwMThDMEYiLCJ2aXNpdG9yX2lkIjoiMzk5NTg1NDkyMTkxOTQ2NjUxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7113c2a44d0c8c85aed61599d4063e33ee2b93b0bb2ea985cb52263639a6e95f
hovercard-subject-tagissue:330793121
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/microsoft/TypeScript/24809/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a76ddcde8676ed5fcec6be4ace15601d26717b4a1f49e7edeae50ad04868655b/microsoft/TypeScript/issues/24809
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a76ddcde8676ed5fcec6be4ace15601d26717b4a1f49e7edeae50ad04868655b/microsoft/TypeScript/issues/24809
og:image:altFrom Michael O'Connell (@mdo5004) on June 8, 2018 14:47 VSCode thinks there are 2 definitions of a React Component This issue was brought up recently but without sufficient info. Here is a minimal ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemjbvz
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
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/microsoft/TypeScript/issues/24809#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F24809
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%2Fmicrosoft%2FTypeScript%2Fissues%2F24809
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=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/24809
Reloadhttps://github.com/microsoft/TypeScript/issues/24809
Reloadhttps://github.com/microsoft/TypeScript/issues/24809
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/24809
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/24809
VSCode thinks there are 2 definitions of a React Componenthttps://github.com/microsoft/TypeScript/issues/24809#top
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 3.0https://github.com/microsoft/TypeScript/milestone/70
https://github.com/mjbvz
Matt Bierner (mjbvz)https://github.com/mjbvz
on Jun 8, 2018https://github.com/microsoft/TypeScript/issues/24809#issue-330793121
Michael O'Connell (@mdo5004)https://github.com/mdo5004
https://user-images.githubusercontent.com/12416969/41164179-88c8ed18-6b08-11e8-9619-8e1f5d093f59.png
https://user-images.githubusercontent.com/12416969/41164182-8b65331a-6b08-11e8-98ab-975f5e18e2ff.png
microsoft/vscode#51459https://github.com/microsoft/vscode/issues/51459
Nexthttps://github.com/microsoft/TypeScript/issues/24809?timeline_page=1
Matt Bierner (mjbvz)https://github.com/mjbvz
on Jun 8, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1671740913
Matt Bierner (mjbvz)https://github.com/mjbvz
new releasehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22new%20release%22
new releasehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22new%20release%22
on Jun 8, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1671740919
Matt Bierner (mjbvz)https://github.com/mjbvz
on Jun 8, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1671741288
https://github.com/mjbvz
Matt Bierner (mjbvz)https://github.com/mjbvz
on Jun 8, 2018https://github.com/microsoft/TypeScript/issues/24809#issuecomment-395881515
https://user-images.githubusercontent.com/12821956/41179595-112a66b6-6b20-11e8-8b5d-7174ca97c4d5.png
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Jun 11, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1674771586
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jun 11, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1674771653
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 3.0https://github.com/microsoft/TypeScript/milestone/70
on Jun 11, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1674771728
https://github.com/slsriehl
Sarah Riehl (slsriehl)https://github.com/slsriehl
on Jun 11, 2018https://github.com/microsoft/TypeScript/issues/24809#issuecomment-396395958
https://user-images.githubusercontent.com/15839167/41257251-c99efe50-6d91-11e8-8897-4e74835e6021.png
https://user-images.githubusercontent.com/15839167/41257353-26e402e0-6d92-11e8-8a48-e1af5ace525c.png
https://user-images.githubusercontent.com/15839167/41258107-b2f4ae5e-6d94-11e8-93d5-3feeefa1fe33.png
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 2, 2018https://github.com/microsoft/TypeScript/issues/24809#issuecomment-401961437
Andy (Andrewkraft) (@Andy-MS)https://github.com/Andy-MS
#24995https://github.com/microsoft/TypeScript/pull/24995
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 3.0https://github.com/microsoft/TypeScript/milestone/70
TypeScript 3.0.1https://github.com/microsoft/TypeScript/milestone/75
on Jul 2, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1712709450
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
on Jul 2, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1712751128
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 3.0.1https://github.com/microsoft/TypeScript/milestone/75
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1712781011
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#25382https://github.com/microsoft/TypeScript/pull/25382
on Jul 3, 2018https://github.com/microsoft/TypeScript/issues/24809#event-1712793736
https://github.com/daweilv
Metadavid (daweilv)https://github.com/daweilv
on Jul 17, 2018https://github.com/microsoft/TypeScript/issues/24809#issuecomment-405465538
Andy (Andrewkraft) (@Andy-MS)https://github.com/Andy-MS
https://github.com/daweilv
Metadavid (daweilv)https://github.com/daweilv
on Jul 17, 2018https://github.com/microsoft/TypeScript/issues/24809#issuecomment-405466481
viahttps://stackoverflow.com/questions/39668731/what-typescript-version-is-visual-studio-code-using-how-to-update-it
https://github.com/davnicwil
David Nicholas Williams (davnicwil)https://github.com/davnicwil
on Sep 19, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-533112361
https://user-images.githubusercontent.com/9915841/65244423-65639580-dae2-11e9-84d8-7d735f55df9c.png
https://github.com/gaspard
Gaspard Anna Bucher (gaspard)https://github.com/gaspard
on Oct 11, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-541002712
https://user-images.githubusercontent.com/21707/66643500-1f9c7780-ec1f-11e9-9ccd-d23b7ac0aa97.png
https://github.com/rotero
roterohttps://github.com/rotero
on Oct 22, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-544972736
https://github.com/mz8i
Maciej Ziarkowski (mz8i)https://github.com/mz8i
on Oct 22, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-544977774
https://github.com/or2008
Or Bachar (or2008)https://github.com/or2008
on Nov 13, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-553356371
David Nicholas Williams (@davnicwil)https://github.com/davnicwil
https://github.com/davnicwil
David Nicholas Williams (davnicwil)https://github.com/davnicwil
on Nov 13, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-553505060
Or Bachar (@or2008)https://github.com/or2008
https://github.com/agos
Agostino Carandente (agos)https://github.com/agos
on Dec 30, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-569697260
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Dec 30, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-569727242
https://github.com/davnicwil
David Nicholas Williams (davnicwil)https://github.com/davnicwil
on Dec 30, 2019https://github.com/microsoft/TypeScript/issues/24809#issuecomment-569821591
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
this commenthttps://github.com/microsoft/TypeScript/issues/24809#issuecomment-533112361
https://github.com/moshfeu
Mosh Feu (moshfeu)https://github.com/moshfeu
on Apr 6, 2020https://github.com/microsoft/TypeScript/issues/24809#issuecomment-609684769
https://github.com/davnicwil
David Nicholas Williams (davnicwil)https://github.com/davnicwil
on Apr 6, 2020https://github.com/microsoft/TypeScript/issues/24809#issuecomment-610061694
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/24809#event-20415696299
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/24809
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/24809
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 3.0https://github.com/microsoft/TypeScript/milestone/70
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.