Skip to content

fix: accept JSX-like element objects - #773

Draft
arjxnt wants to merge 1 commit into
vercel:mainfrom
arjxnt:codex/fix-jsx-like-element-types
Draft

fix: accept JSX-like element objects#773
arjxnt wants to merge 1 commit into
vercel:mainfrom
arjxnt:codex/fix-jsx-like-element-types

Conversation

@arjxnt

@arjxnt arjxnt commented Jul 15, 2026

Copy link
Copy Markdown

Summary

  • Accept JSX-like element objects without React's required key property.
  • Share the validated renderable type across Satori's public entry point, preprocessing, layout, and SVG conversion.
  • Add a regression that renders an Astro-style object tree.

Fixes #765.

Validation

  • �itest run test/jsx-runtime.test.tsx (3 passed)
  • sc -p tsconfig.json --noEmit
  • ESLint and Prettier

@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
satori-playground Ready Ready Preview, Comment, Open in v0 Jul 15, 2026 4:55am

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.

Missing the following properties from type 'ReactPortal': children, key

1 participant