vercel/satori

Playground support for the object syntax (ie. use without JSX)

Open

#427 建立於 2023年3月12日

在 GitHub 查看
 (2 留言) (1 反應) (0 負責人)TypeScript (352 fork)user submission
good first issue

倉庫指標

Star
 (13,452 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Feature Request

Description

Per the readme, Satori supports JSX (with a transpiler enabled), and also a React-like object syntax with type, props.children, and props.style fields. It would be nice if this syntax was usable on the playground as a toggle.

Additional Context

Using Satori without a transpiler, you end up needing to constantly tweak your structure, rerun the script, and re-check the output, in order to iteratively develop and tinker on Satori-made images. When I was previously using Satori with a transpiler, this was easy, thanks to the playground.

貢獻者指南