Skip to content

fix: ssr mdx custome elemtnts bugs#16577

Open
fkatsuhiro wants to merge 5 commits intowithastro:mainfrom
fkatsuhiro:fix/ssr-custome-elemtnts-bugs
Open

fix: ssr mdx custome elemtnts bugs#16577
fkatsuhiro wants to merge 5 commits intowithastro:mainfrom
fkatsuhiro:fix/ssr-custome-elemtnts-bugs

Conversation

@fkatsuhiro
Copy link
Copy Markdown
Contributor

@fkatsuhiro fkatsuhiro commented May 3, 2026

Changes

issue : #16273

Fixed issue where custome elements in MDX bypass the renderer pipline. By detecting hyphens in tag names within the JSX runtime, custom elements are now correctly routed to the renderer for SSR, ensuring parity with .astro files.

Testing

Before fixing bug

Test result after implement all test.

スクリーンショット 2026-05-05 23 33 57

After fixing bug

スクリーンショット 2026-05-05 23 24 59

Docs

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 3, 2026

🦋 Changeset detected

Latest commit: d830d09

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions Bot added the pkg: astro Related to the core `astro` package (scope) label May 3, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 3, 2026

Merging this PR will not alter performance

✅ 18 untouched benchmarks


Comparing fkatsuhiro:fix/ssr-custome-elemtnts-bugs (d830d09) with main (94e4b7c)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (354e231) during the generation of this report, so 94e4b7c was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@fkatsuhiro fkatsuhiro force-pushed the fix/ssr-custome-elemtnts-bugs branch from 305cbd8 to 5dc7c37 Compare May 5, 2026 14:50
@fkatsuhiro fkatsuhiro marked this pull request as ready for review May 5, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant