PR #5179

fix(jsx): allow a function component to return an array

open concern
by natsuki-engrreviewed 31 Jul 2026 · head a9553f1 · read

2 posted · 1 withheld · 1 question

lens
jsx-renderingThe split between hono/jsx (string renderer) and hono/jsx/dom creates a persistent divergence risk — features land in one renderer first, and the other catches up. The StringBuffer type being (string | Promise<string>)[] while actually holding JSXNode objects is a symptom: the string renderer's type layer doesn't match its runtime behavior, and fixing it would ripple into hono/utils/html which is consumed outside JSX.
jsx-renderingfeels emergent