fix: restore classic JSX runtime#371
Conversation
|
@QDyanbing is attempting to deploy a commit to the afc163's projects Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Code Review
This pull request updates the TypeScript configuration in tsconfig.json by changing the jsx compiler option from "react-jsx" to "react". There are no review comments, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Walkthrough本次变更仅修改 tsconfig.json 中的一行配置,将 compilerOptions.jsx 的值由 "react-jsx" 改为 "react",影响 TypeScript 对 JSX 语法的编译处理方式。 ChangesTypeScript 配置调整
Estimated code review effort: 1 (Trivial) | ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #371 +/- ##
=======================================
Coverage 96.99% 96.99%
=======================================
Files 19 19
Lines 831 831
Branches 203 201 -2
=======================================
Hits 806 806
Misses 25 25 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
React.createElementinstead of importingreact/jsx-runtime.Test
npm run tscnpm test -- --runInBandreact/jsx-runtime.Summary by CodeRabbit