PR #5179
fix(jsx): allow a function component to return an array
open concernby natsuki-engrreviewed 31 Jul 2026 · head a9553f1 · read
Review decisions
WHAT THIS CHANGE SAYS ABOUT THE CODEBASE
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