We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.
Older versions do not have this problem vue3 vite all pull the latest version
No response
Using JSX fragments requires fragment factory 'React' to be in scope, but it could not be found.
No error message
The text was updated successfully, but these errors were encountered:
Sounds like a duplicate of #60603. Do you have jsx set to preserve in your tsconfig?
jsx
preserve
Sorry, something went wrong.
听起来像是#60603的重复。你在 tsconfig 中jsx设置了吗?preserve
Yes, in tsconfig.json set "jsx": "preserve"
No branches or pull requests
🔎 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
The text was updated successfully, but these errors were encountered: