GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix missing react error with fragments in `react-native` by iisaduan · Pull Request #60615 · microsoft/TypeScript

Conversation

@iisaduan

@iisaduan Isabel Duan (iisaduan) commented Nov 26, 2024

Copy link
Copy Markdown
Member

fixes #60588

same problem and fix as #60122

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Bardiamist, Gruak, and arthur-fontaine reacted with thumbs up emoji imranbarbhuiya reacted with heart emoji
All reactions
  • 👍 3 reactions
  • ❤️ 1 reaction
Isabel Duan (iisaduan) added 2 commits November 26, 2024 12:02
@iisaduan
test cases
793cc2b
@iisaduan
fix
861c718
@iisaduan
Isabel Duan (iisaduan) requested review from Andrew Branch (andrewbranch) and Wesley Wigham (weswigham) November 26, 2024 20:19
@typescript-bot TypeScript Bot (typescript-bot) assigned Isabel Duan (iisaduan) Nov 26, 2024
@typescript-bot TypeScript Bot (typescript-bot) added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Nov 26, 2024
@iisaduan

Isabel Duan (iisaduan) commented Nov 26, 2024

Copy link
Copy Markdown
Member Author

TypeScript Bot (@typescript-bot) test it

typescript-bot reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
test top400 ✅ Started ✅ Results
user test this ✅ Started ✅ Results
run dt ✅ Started ✅ Results
perf test this faster ✅ Started 👀 Results
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024

Copy link
Copy Markdown
Contributor

Hey Isabel Duan (@iisaduan), the results of running the DT tests are ready.

Everything looks the same!

You can check the log here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024

Copy link
Copy Markdown
Contributor

Isabel Duan (@iisaduan)
The results of the perf run you requested are in!

Here they are:

tsc

Comparison Report - baseline..pr
Metric baseline pr Delta Best Worst p-value
Compiler-Unions - node (v18.15.0, x64)
Errors 34 34 ~ ~ ~ p=1.000 n=6
Symbols 62,363 62,363 ~ ~ ~ p=1.000 n=6
Types 50,395 50,395 ~ ~ ~ p=1.000 n=6
Memory used 194,329k (± 0.94%) 194,901k (± 1.04%) ~ 193,030k 196,861k p=0.810 n=6
Parse Time 1.32s (± 0.62%) 1.30s (± 1.06%) ~ 1.29s 1.32s p=0.183 n=6
Bind Time 0.72s 0.72s ~ ~ ~ p=1.000 n=6
Check Time 9.81s (± 0.24%) 9.81s (± 0.30%) ~ 9.77s 9.85s p=0.807 n=6
Emit Time 2.74s (± 0.54%) 2.73s (± 0.28%) ~ 2.72s 2.74s p=0.216 n=6
Total Time 14.58s (± 0.19%) 14.56s (± 0.21%) ~ 14.52s 14.60s p=0.105 n=6
angular-1 - node (v18.15.0, x64)
Errors 37 37 ~ ~ ~ p=1.000 n=6
Symbols 947,936 947,936 ~ ~ ~ p=1.000 n=6
Types 410,955 410,955 ~ ~ ~ p=1.000 n=6
Memory used 1,226,014k (± 0.00%) 1,226,029k (± 0.00%) ~ 1,225,988k 1,226,088k p=0.470 n=6
Parse Time 6.66s (± 0.42%) 6.67s (± 0.71%) ~ 6.62s 6.73s p=0.936 n=6
Bind Time 1.88s (± 0.29%) 1.88s (± 0.72%) ~ 1.86s 1.90s p=1.000 n=6
Check Time 32.01s (± 0.22%) 31.98s (± 0.36%) ~ 31.85s 32.15s p=0.471 n=6
Emit Time 15.24s (± 0.43%) 15.23s (± 0.57%) ~ 15.16s 15.39s p=0.573 n=6
Total Time 55.79s (± 0.18%) 55.76s (± 0.22%) ~ 55.61s 55.97s p=0.688 n=6
mui-docs - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 2,500,013 2,500,013 ~ ~ ~ p=1.000 n=6
Types 909,416 909,416 ~ ~ ~ p=1.000 n=6
Memory used 2,317,799k (± 0.00%) 2,317,820k (± 0.00%) ~ 2,317,760k 2,317,874k p=0.298 n=6
Parse Time 9.29s (± 0.24%) 9.28s (± 0.32%) ~ 9.25s 9.33s p=0.454 n=6
Bind Time 2.17s (± 0.35%) 2.18s (± 1.22%) ~ 2.16s 2.23s p=0.406 n=6
Check Time 74.97s (± 0.46%) 74.82s (± 0.46%) ~ 74.45s 75.28s p=0.470 n=6
Emit Time 0.29s (± 1.80%) 0.29s (± 1.80%) ~ 0.28s 0.29s p=1.000 n=6
Total Time 86.71s (± 0.40%) 86.58s (± 0.37%) ~ 86.23s 87.02s p=0.575 n=6
self-build-src - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,225,251 1,225,251 ~ ~ ~ p=1.000 n=6
Types 266,545 266,546 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 2,414,692k (± 6.14%) 2,354,402k (± 0.04%) ~ 2,353,263k 2,355,856k p=0.936 n=6
Parse Time 5.27s (± 0.83%) 5.20s (± 1.05%) ~ 5.12s 5.26s p=0.078 n=6
Bind Time 1.77s (± 0.92%) 1.77s (± 0.56%) ~ 1.75s 1.78s p=0.870 n=6
Check Time 35.12s (± 0.97%) 35.22s (± 0.20%) ~ 35.09s 35.29s p=0.471 n=6
Emit Time 2.97s (± 0.73%) 2.92s (± 1.97%) ~ 2.86s 3.00s p=0.173 n=6
Total Time 45.13s (± 0.72%) 45.12s (± 0.24%) ~ 44.95s 45.25s p=0.936 n=6
self-build-src-public-api - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 1,225,251 1,225,251 ~ ~ ~ p=1.000 n=6
Types 266,545 266,546 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 3,028,968k (± 9.78%) 2,908,353k (±12.85%) ~ 2,424,858k 3,151,053k p=0.471 n=6
Parse Time 6.96s (± 1.66%) 6.96s (± 2.35%) ~ 6.71s 7.17s p=0.936 n=6
Bind Time 2.16s (± 1.94%) 2.13s (± 1.21%) ~ 2.10s 2.17s p=0.261 n=6
Check Time 42.78s (± 0.48%) 42.94s (± 0.61%) ~ 42.46s 43.23s p=0.230 n=6
Emit Time 3.44s (± 2.22%) 3.52s (± 2.88%) ~ 3.42s 3.70s p=0.199 n=6
Total Time 55.35s (± 0.44%) 55.55s (± 0.77%) ~ 54.74s 55.93s p=0.173 n=6
self-compiler - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 262,223 262,223 ~ ~ ~ p=1.000 n=6
Types 106,606 106,607 +1 (+ 0.00%) ~ ~ p=0.001 n=6
Memory used 439,813k (± 0.01%) 439,786k (± 0.01%) ~ 439,740k 439,838k p=0.298 n=6
Parse Time 3.54s (± 1.18%) 3.53s (± 0.92%) ~ 3.49s 3.59s p=0.871 n=6
Bind Time 1.31s (± 1.15%) 1.32s (± 0.89%) ~ 1.31s 1.34s p=0.357 n=6
Check Time 18.97s (± 0.53%) 18.91s (± 0.42%) ~ 18.79s 19.01s p=0.521 n=6
Emit Time 1.53s (± 0.68%) 1.52s (± 0.83%) ~ 1.50s 1.53s p=0.391 n=6
Total Time 25.34s (± 0.41%) 25.29s (± 0.36%) ~ 25.13s 25.38s p=0.748 n=6
ts-pre-modules - node (v18.15.0, x64)
Errors 70 70 ~ ~ ~ p=1.000 n=6
Symbols 226,062 226,062 ~ ~ ~ p=1.000 n=6
Types 94,488 94,488 ~ ~ ~ p=1.000 n=6
Memory used 371,674k (± 0.05%) 371,681k (± 0.04%) ~ 371,574k 371,984k p=0.936 n=6
Parse Time 2.91s (± 1.27%) 2.90s (± 0.81%) ~ 2.87s 2.93s p=0.685 n=6
Bind Time 1.61s (± 1.21%) 1.60s (± 1.18%) ~ 1.58s 1.63s p=0.507 n=6
Check Time 16.52s (± 0.50%) 16.50s (± 0.22%) ~ 16.46s 16.55s p=1.000 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 21.03s (± 0.47%) 21.00s (± 0.23%) ~ 20.94s 21.05s p=1.000 n=6
vscode - node (v18.15.0, x64)
Errors 4 4 ~ ~ ~ p=1.000 n=6
Symbols 3,179,730 3,179,730 ~ ~ ~ p=1.000 n=6
Types 1,093,537 1,093,537 ~ ~ ~ p=1.000 n=6
Memory used 3,254,683k (± 0.01%) 3,254,641k (± 0.02%) ~ 3,254,267k 3,255,487k p=0.575 n=6
Parse Time 14.07s (± 0.36%) 14.08s (± 0.35%) ~ 14.03s 14.16s p=0.572 n=6
Bind Time 4.50s (± 0.23%) 4.56s (± 1.97%) +0.06s (+ 1.30%) 4.50s 4.74s p=0.049 n=6
Check Time 86.72s (± 1.25%) 87.33s (± 2.02%) ~ 85.83s 89.63s p=0.810 n=6
Emit Time 28.21s (± 2.55%) 28.27s (± 2.23%) ~ 27.34s 28.79s p=1.000 n=6
Total Time 133.51s (± 0.82%) 134.24s (± 1.32%) ~ 131.96s 136.81s p=0.575 n=6
webpack - node (v18.15.0, x64)
Errors 0 0 ~ ~ ~ p=1.000 n=6
Symbols 288,684 288,684 ~ ~ ~ p=1.000 n=6
Types 117,136 117,136 ~ ~ ~ p=1.000 n=6
Memory used 440,859k (± 0.02%) 440,917k (± 0.02%) ~ 440,800k 441,064k p=0.378 n=6
Parse Time 4.11s (± 0.77%) 4.05s (± 1.26%) -0.06s (- 1.42%) 3.98s 4.11s p=0.036 n=6
Bind Time 1.76s (± 2.06%) 1.73s (± 1.52%) ~ 1.71s 1.77s p=0.334 n=6
Check Time 18.84s (± 0.36%) 18.90s (± 0.21%) ~ 18.85s 18.96s p=0.171 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.71s (± 0.36%) 24.68s (± 0.31%) ~ 24.54s 24.76s p=0.295 n=6
xstate-main - node (v18.15.0, x64)
Errors 8 8 ~ ~ ~ p=1.000 n=6
Symbols 551,583 551,583 ~ ~ ~ p=1.000 n=6
Types 184,808 184,808 ~ ~ ~ p=1.000 n=6
Memory used 491,914k (± 0.00%) 491,885k (± 0.02%) ~ 491,680k 491,965k p=0.810 n=6
Parse Time 3.41s (± 0.58%) 3.42s (± 0.35%) ~ 3.41s 3.44s p=0.410 n=6
Bind Time 1.17s (± 1.03%) 1.17s (± 1.16%) ~ 1.16s 1.19s p=1.000 n=6
Check Time 19.61s (± 0.58%) 19.67s (± 1.32%) ~ 19.42s 20.16s p=0.872 n=6
Emit Time 0.00s 0.00s ~ ~ ~ p=1.000 n=6
Total Time 24.20s (± 0.48%) 24.27s (± 1.02%) ~ 24.05s 24.74s p=0.809 n=6
System info unknown
Hosts
  • node (v18.15.0, x64)
Scenarios
  • Compiler-Unions - node (v18.15.0, x64)
  • angular-1 - node (v18.15.0, x64)
  • mui-docs - node (v18.15.0, x64)
  • self-build-src - node (v18.15.0, x64)
  • self-build-src-public-api - node (v18.15.0, x64)
  • self-compiler - node (v18.15.0, x64)
  • ts-pre-modules - node (v18.15.0, x64)
  • vscode - node (v18.15.0, x64)
  • webpack - node (v18.15.0, x64)
  • xstate-main - node (v18.15.0, x64)
Benchmark Name Iterations
Current pr 6
Baseline baseline 6

Developer Information:

Download Benchmarks

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024

Copy link
Copy Markdown
Contributor

Isabel Duan (@iisaduan) Here are the results of running the user tests with tsc comparing main and refs/pull/60615/merge:

Everything looks good!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

andrewbranch
Andrew Branch (andrewbranch) approved these changes Nov 26, 2024
View reviewed changes
@iisaduan
Isabel Duan (iisaduan) merged commit 96410eb into microsoft:main Nov 26, 2024
@jakebailey

Jake Bailey (jakebailey) commented Nov 26, 2024

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick this to release-5.7

typescript-bot reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
cherry-pick this to release-5.7 ✅ Started ✅ Results
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

TypeScript Bot (typescript-bot) pushed a commit that referenced this pull request Nov 26, 2024
@iisaduan @typescript-bot
fix missing react error with fragments in react-native (#60615)
842fa99
@typescript-bot TypeScript Bot (typescript-bot) mentioned this pull request Nov 26, 2024
🤖 Pick PR #60615 (fix missing react error with fragme...) into release-5.7 #60618
Merged
@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024

Copy link
Copy Markdown
Contributor

Hey, Jake Bailey (@jakebailey)! I've created #60618 for you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024

Copy link
Copy Markdown
Contributor

Isabel Duan (@iisaduan) Here are the results of running the top 400 repos with tsc comparing main and refs/pull/60615/merge:

Everything looks good!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@DanielRosenwasser

Daniel Rosenwasser (DanielRosenwasser) commented Nov 26, 2024

Copy link
Copy Markdown
Member

TypeScript Bot (@typescript-bot) cherry-pick this to release-5.7

typescript-bot reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
cherry-pick this to release-5.7 ✅ Started ✅ Results
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@DanielRosenwasser

Daniel Rosenwasser (DanielRosenwasser) commented Nov 26, 2024

Copy link
Copy Markdown
Member

oops

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@DanielRosenwasser

Daniel Rosenwasser (DanielRosenwasser) commented Nov 26, 2024

Copy link
Copy Markdown
Member

stop it robot

imranbarbhuiya, mkapal, and LeslieOA reacted with laugh emoji
All reactions
  • 😄 3 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Daniel Rosenwasser (DanielRosenwasser) pushed a commit that referenced this pull request Nov 26, 2024
@typescript-bot @iisaduan
🤖 Pick PR #60615 (fix missing react error with fragme...) into releas…
5d77da6
…e-5.7 (#60618)

Co-authored-by: Isabel Duan <[email protected]>
TypeScript Bot (typescript-bot) pushed a commit that referenced this pull request Nov 26, 2024
@iisaduan @typescript-bot
fix missing react error with fragments in react-native (#60615)
67874b9
@typescript-bot TypeScript Bot (typescript-bot) mentioned this pull request Nov 26, 2024
🤖 Pick PR #60615 (fix missing react error with fragme...) into release-5.7 #60620
Closed
@typescript-bot

TypeScript Bot (typescript-bot) commented Nov 26, 2024

Copy link
Copy Markdown
Contributor

Hey, Daniel Rosenwasser (@DanielRosenwasser)! I've created #60620 for you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jakebailey

Jake Bailey (jakebailey) commented Nov 27, 2024

Copy link
Copy Markdown
Member

the bot should not have been able to make two PRs, but I guess it did because the first got merged?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@iisaduan Isabel Duan (iisaduan) mentioned this pull request Dec 30, 2024
'React' refers to a UMD global, but the current file is a module. Consider adding an import instead. #60132
Closed
@sandersn Nathan Shively-Sanders (sandersn) removed this from PR Backlog Apr 22, 2025
@Andarist Mateusz Burzyński (Andarist) mentioned this pull request Jun 4, 2025
Port JSX fragment checking changes microsoft/typescript-go#1053
Merged
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@andrewbranch Andrew Branch (andrewbranch) andrewbranch approved these changes
@weswigham Wesley Wigham (weswigham) Awaiting requested review from weswigham

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@iisaduan Isabel Duan (iisaduan)

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@iisaduan @typescript-bot @jakebailey @DanielRosenwasser @andrewbranch
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.