Skip to content

fix jsx runtime when has no kids need delete props.children attr#404

Merged
yisar merged 1 commit intofrejs:masterfrom
RosApr:fix-jsx-runtime
Sep 20, 2025
Merged

fix jsx runtime when has no kids need delete props.children attr#404
yisar merged 1 commit intofrejs:masterfrom
RosApr:fix-jsx-runtime

Conversation

@RosApr
Copy link
Copy Markdown
Contributor

@RosApr RosApr commented Sep 19, 2025

when jsx render mode, all children is in props which means if formatted kids array length equal zero, we need delete props children attribute

@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.32%. Comparing base (05d20e5) to head (6813b87).
⚠️ Report is 1 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #404      +/-   ##
==========================================
+ Coverage   94.31%   94.32%   +0.01%     
==========================================
  Files           8        8              
  Lines         879      881       +2     
  Branches      198      199       +1     
==========================================
+ Hits          829      831       +2     
  Misses         50       50              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yisar yisar merged commit 8bf6caf into frejs:master Sep 20, 2025
1 check passed
@RosApr RosApr deleted the fix-jsx-runtime branch September 24, 2025 02:43
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

Successfully merging this pull request may close these issues.

3 participants