withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
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
test: relax CI restart timeout Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
IEvangelist:dapine/incremental-builds-poc
5 hours ago
test: relax CI restart timeout Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
IEvangelist:dapine/incremental-builds-poc
5 hours ago
fix: update server islands test stub to use getServerIslandNameMap
advanced-routing
6 hours ago
perf: make RenderContext.create() synchronous; lazy component loading RenderContext.create() is now sync — removed dead actions field and made serverIslandNameMap a lazy async getter on SSRResult (only resolved in server-islands.ts when actually needed). ensureRenderContext() is fully synchronous. Component loading is deferred to loadComponentInstance() called lazily by getProps() and PagesHandler. Uses app.createRenderContext() instead of importing RenderContext directly to avoid class identity issues in Cloudflare's split prerender/SSR environments.
advanced-routing
6 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%
Add an experimental static incremental build foundation
#16240
12 days ago
0593daa
IEvangelist:dapine/incremental-builds-poc
CodSpeed Performance Gauge
-1%
Advanced Routing (WIP)
#16366
6 hours ago
b1a3231
advanced-routing
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs