Skip to content

fix(v2): align React Head JSX behavior - #896

Merged
harlan-zw merged 2 commits into
v2from
fix/v2-react-head-compat
Aug 3, 2026
Merged

fix(v2): align React Head JSX behavior#896
harlan-zw merged 2 commits into
v2from
fix/v2-react-head-compat

Conversation

@harlan-zw

@harlan-zw harlan-zw commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Backports #892, #893, and #894.

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

Unhead v2 drops nested React Fragment tags, serializes JSX aliases incorrectly, and cannot map dangerouslySetInnerHTML into head content. Backport the three focused React adapter fixes while retaining v2 lifecycle, async SSR, and escaping behavior.

Backport the Fragment, React prop normalization, and raw-content fixes from #892, #893, and #894 while retaining the v2 entry lifecycle.
@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 81af9eeb-dd13-4a8d-813c-052424d96266

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/v2-react-head-compat

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@harlan-zw harlan-zw added v2 bug Something isn't working backport Backports an existing change to a maintained release line react React adapter and integration labels Jul 24, 2026
@harlan-zw

Copy link
Copy Markdown
Collaborator Author

🤖 Harlan Agent Kit automated review

This was generated and posted by a robot, not Harlan's personal review.

PASS · 95/100 confidence

  • Reviewed 96d18ec9 against v2@9ad444e9
  • Base current; GitHub reports no conflicts
  • PR title and body match the project template; review threads are resolved
  • Adversarial review found no remaining material code issue
  • Complete diff reviewed; required CI passed 2/2; confidence includes limited local execution

Human merge decision still required.

@harlan-zw
harlan-zw merged commit ff70b9a into v2 Aug 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Backports an existing change to a maintained release line bug Something isn't working react React adapter and integration v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant