Re: [whatwg/dom] Proposal to improve the DOM creation api (#150)

FrameMuse left a comment (whatwg/dom#150)

@fregante, That's exactly what I thought about, why can't we have something beyond string-based parsing, not exactly supporting the JSX syntax but similar to `{ tag: "div", attributes: { class: "test" }, children: [...] }`. This would greatly optimize existing renderers that use JSX since conversion to string and calling `createElement`, `appendChild` and `setAttribute` are costly.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/150#issuecomment-3357364404
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/150/3357364404@github.com>

Received on Wednesday, 1 October 2025 17:23:04 UTC