Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript 5.7.2 Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found. #60807

Open
sujiewen opened this issue Dec 18, 2024 · 1 comment

Comments

@sujiewen
Copy link

sujiewen commented Dec 18, 2024

🔎 Search Terms

typescript 5.7.2 Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found.

Older versions do not have this problem
vue3 vite all pull the latest version

🕗 Version & Regression Information

typescript 5.7.2 Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found.

Older versions do not have this problem
vue3 vite all pull the latest version

⏯ Playground Link

No response

💻 Code

typescript 5.7.2 Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found.

Older versions do not have this problem
vue3 vite all pull the latest version

🙁 Actual behavior

Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found.

🙂 Expected behavior

No error message

Additional information about the issue

No error message

@MartinJohns
Copy link
Contributor

Sounds like a duplicate of #60603. Do you have jsx set to preserve in your tsconfig?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants