René's URL Explorer Experiment


Title: JSX Fragments are in-properly typed when not using `React.Fragment` · Issue #50429 · microsoft/TypeScript · GitHub

Open Graph Title: JSX Fragments are in-properly typed when not using `React.Fragment` · Issue #50429 · microsoft/TypeScript

X Title: JSX Fragments are in-properly typed when not using `React.Fragment` · Issue #50429 · microsoft/TypeScript

Description: Bug Report 🔎 Search Terms React Fragment 🕗 Version & Regression Information I believe this is a new inconsistency due to changes in React. ⏯ Playground Link https://github.com/gkemp94/test-typescript-fragment Code import React from "reac...

Open Graph Description: Bug Report 🔎 Search Terms React Fragment 🕗 Version & Regression Information I believe this is a new inconsistency due to changes in React. ⏯ Playground Link https://github.com/gkemp94/test-typescri...

X Description: Bug Report 🔎 Search Terms React Fragment 🕗 Version & Regression Information I believe this is a new inconsistency due to changes in React. ⏯ Playground Link https://github.com/gkemp94/test-type...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"JSX Fragments are in-properly typed when not using `React.Fragment`","articleBody":"# Bug Report\r\n\r\n### 🔎 Search Terms\r\n\r\nReact Fragment\r\n\r\n### 🕗 Version & Regression Information\r\n \r\nI believe this is a new inconsistency due to changes in React.\r\n\r\n### ⏯ Playground Link\r\n\r\nhttps://github.com/gkemp94/test-typescript-fragment\r\n\r\n### Code\r\n```\r\nimport React from \"react\";\r\n\r\nconst test = () => \"asd\";\r\n\r\n// No Errors\r\nconst jsxWithJsxFragment = \u003c>{test}\u003c/>;\r\n\r\n// Type '() => string' is not assignable to type 'ReactNode'.\r\nconst jsxWithReactFragment = \u003cReact.Fragment>{test}\u003c/React.Fragment>;\r\n\r\n```\r\n\r\n### 🙁 Actual behavior\r\n\r\nWhen using `\u003c>` vs `\u003cReact.Fragment>` the children are not properly type checked\r\n\r\n### 🙂 Expected behavior\r\n\r\nWhen jsx: react is specified, to type check `\u003c>` the same as `React.Fragment`\r\n","author":{"url":"https://github.com/gkemp94","@type":"Person","name":"gkemp94"},"datePublished":"2022-08-24T17:20:42Z","url":"https://github.com/microsoft/TypeScript/issues/50429"}

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:ae208d6d-4010-c423-109d-90c3eda2670b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB5B4:3A347:BAEF4D:F9389A:6B00F247
html-safe-nonce7476d93082147ab6fd8a5a4d940613e993932127f8e0a5db5ee665b84add2952
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUI0OjNBMzQ3OkJBRUY0RDpGOTM4OUE6NkIwMEYyNDciLCJ2aXNpdG9yX2lkIjoiNzAxNzYwODM2MDIwNzkwNTM1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac186c7c69c86462fa888d32144fd90ae0a4d931254c2e347b79daf89579737878
hovercard-subject-tagissue:1349786901
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/50429/issue_layout
twitter:imagehttps://opengraph.githubassets.com/605d4c9c97a431c5d3bb556400f1ab22d231a42fa3fe5e9949b77ac1fdb4de21/microsoft/TypeScript/issues/50429
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/605d4c9c97a431c5d3bb556400f1ab22d231a42fa3fe5e9949b77ac1fdb4de21/microsoft/TypeScript/issues/50429
og:image:altBug Report 🔎 Search Terms React Fragment 🕗 Version & Regression Information I believe this is a new inconsistency due to changes in React. ⏯ Playground Link https://github.com/gkemp94/test-typescri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegkemp94
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/50429#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F50429
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%2F50429
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/50429
Reloadhttps://github.com/microsoft/TypeScript/issues/50429
Reloadhttps://github.com/microsoft/TypeScript/issues/50429
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)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/50429
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/50429
#59933https://github.com/microsoft/TypeScript/pull/59933
JSX Fragments are in-properly typed when not using React.Fragmenthttps://github.com/microsoft/TypeScript/issues/50429#top
#59933https://github.com/microsoft/TypeScript/pull/59933
https://github.com/iisaduan
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
RescheduledThis issue was previously scheduled to an earlier milestonehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Rescheduled%22
TypeScript 5.7.0https://github.com/microsoft/TypeScript/milestone/208
https://github.com/gkemp94
George Kemp (gkemp94)https://github.com/gkemp94
on Aug 24, 2022https://github.com/microsoft/TypeScript/issues/50429#issue-1349786901
https://github.com/gkemp94/test-typescript-fragmenthttps://github.com/gkemp94/test-typescript-fragment
https://github.com/MartinJohns
Martin Johns (MartinJohns)https://github.com/MartinJohns
on Aug 24, 2022https://github.com/microsoft/TypeScript/issues/50429#issuecomment-1226053318
Playground linkhttps://www.typescriptlang.org/play#code/JYWwDg9gTgLgBAJQKYEMDG8BmUIjgIilQ3wG4AoctCAOwGd4YkG4BeOACgEo2A+AlHQAmZSgHoxcAHIQ4AUSg4odKrRYArOgA8A6sBgALAFLaAYlBQBzEEhrx2AHl4BvJgwC+DsbwrkJcABUATzAkOABybj44BihgGktwuGA6OBoIeEE6YEsaFAAjABswmFkYELDw5HQYGSEkcIA6VXp4TV19A2qMcysbOzY4B26YRt7rWxgXNxhPMRGxiwm7H3IgA
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Aug 26, 2022https://github.com/microsoft/TypeScript/issues/50429#event-7271058070
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
navya9singhhttps://github.com/navya9singh
on Aug 26, 2022https://github.com/microsoft/TypeScript/issues/50429#event-7271058302
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.9.0https://github.com/microsoft/TypeScript/milestone/169
on Aug 26, 2022https://github.com/microsoft/TypeScript/issues/50429#event-7271058407
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Isabel Duan (iisaduan)https://github.com/iisaduan
navya9singhhttps://github.com/navya9singh
on Aug 26, 2022https://github.com/microsoft/TypeScript/issues/50429#event-7271058867
https://github.com/a-tarasyuk
Oleksandr Tarasiuk (a-tarasyuk)https://github.com/a-tarasyuk
on Aug 29, 2022https://github.com/microsoft/TypeScript/issues/50429#issuecomment-1230464297
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript/src/compiler/types.tshttps://github.com/microsoft/TypeScript/blob/ed6889cd5b61b9fa5156018362d867def18e281d/src/compiler/types.ts#L2802-L2808
ed6889chttps://github.com/microsoft/TypeScript/commit/ed6889cd5b61b9fa5156018362d867def18e281d
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
on Nov 2, 2022https://github.com/microsoft/TypeScript/issues/50429#issuecomment-1299389893
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
RescheduledThis issue was previously scheduled to an earlier milestonehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Rescheduled%22
on Feb 1, 2023https://github.com/microsoft/TypeScript/issues/50429#event-8413729176
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.9.0https://github.com/microsoft/TypeScript/milestone/169
TypeScript 5.1.0https://github.com/microsoft/TypeScript/milestone/178
on Feb 1, 2023https://github.com/microsoft/TypeScript/issues/50429#event-8413737130
Donny/강동윤 (kdy1)https://github.com/kdy1
on Apr 8, 2023https://github.com/microsoft/TypeScript/issues/50429#event-8957002524
feat: Use `any` for JSX fragments (#973)https://github.com/dudykr/stc/commit/508b2bab619e616350332fc1f845879d5506c6c7
#973https://github.com/dudykr/stc/pull/973
508b2bahttps://github.com/dudykr/stc/commit/508b2bab619e616350332fc1f845879d5506c6c7
https://github.com/merrywhether
Risto Keravuori (merrywhether)https://github.com/merrywhether
on Sep 12, 2023https://github.com/microsoft/TypeScript/issues/50429#issuecomment-1714994345
#51328https://github.com/microsoft/TypeScript/pull/51328
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 5.1.0https://github.com/microsoft/TypeScript/milestone/178
TypeScript 5.5.0https://github.com/microsoft/TypeScript/milestone/179
on Mar 4, 2024https://github.com/microsoft/TypeScript/issues/50429#event-12004910844
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 5.5.0https://github.com/microsoft/TypeScript/milestone/179
TypeScript 5.7.0https://github.com/microsoft/TypeScript/milestone/208
on Jul 26, 2024https://github.com/microsoft/TypeScript/issues/50429#event-13666301263
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
on Sep 10, 2024https://github.com/microsoft/TypeScript/issues/50429#event-14204511250
Isabel Duan (iisaduan)https://github.com/iisaduan
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#59933https://github.com/microsoft/TypeScript/pull/59933
on Sep 27, 2024https://github.com/microsoft/TypeScript/issues/50429#event-14437663834
microsofthttps://github.com/microsoft
on Oct 22, 2025https://github.com/microsoft/TypeScript/issues/50429#event-20417587687
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/50429
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/50429
Isabel Duan (iisaduan)https://github.com/iisaduan
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
RescheduledThis issue was previously scheduled to an earlier milestonehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Rescheduled%22
TypeScript 5.7.0https://github.com/microsoft/TypeScript/milestone/208
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.