Avatar for the withastro user
withastro
astro
BlogDocsChangelog

Performance History

Latest Results

fix: route custom elements in JSX through renderer pipeline for SSR The Astro compiler (.astro files) correctly treats custom elements (tags containing hyphens) as components via renderComponent(), allowing framework renderers like Lit to SSR them with Declarative Shadow DOM. The JSX runtime (used by MDX) sends ALL string-typed vnodes to renderElement() — pure string concatenation with no renderer check. Custom elements in MDX files never get SSR rendered. Add a single condition: string-typed vnodes containing a hyphen fall through to the existing renderComponentToString() path, matching the .astro compiler behavior (print-to-js.go:381).
piotrekwitkowski:fix/ssr-custom-elements-in-jsx
11 minutes ago
chore: add changeset
piotrekwitkowski:fix/ssr-custom-elements-in-jsx
1 hour ago
chore: add changeset
piotrekwitkowski:fix/ssr-custom-elements-in-jsx
1 hour ago
Merge branch 'main' into fix/ssr-custom-elements-in-jsx
piotrekwitkowski:fix/ssr-custom-elements-in-jsx
2 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
fix: route custom elements in JSX through renderer pipeline for SSR#16274
13 days ago
e4fd9bc
piotrekwitkowski:fix/ssr-custom-elements-in-jsx
CodSpeed Performance Gauge
0%
12 days ago
0593daa
IEvangelist:dapine/incremental-builds-poc
CodSpeed Performance Gauge
-1%
6 hours ago
b1a3231
advanced-routing
© 2026 CodSpeed Technology
Home Terms Privacy Docs