Re: [WICG/webcomponents] [templates] A declarative JavaScript templating API (Issue #1069)

atzufuki left a comment (WICG/webcomponents#1069)

> developers have revealed a strong preference for markup-based syntaxes

That's why I included a [JSX support](https://github.com/atzufuki/html-props/tree/main/src/jsx) as well. ✌️

Anyway in my mind since JSX is another syntax and used with the `.jsx` and `.tsx` extensions, I'm probably always going to consider it as an opt-in alternative. But the underlying API behind JSX should be plain JavaScript and it should be usable by default with the `.js` ja `.ts` extensions.

I mean generally I'm not taking a position whether web components should provide such declarative API for JavaScript natively or not, but if you guys are really going for native declarativity then I think the first priority should be plain JavaScript and other technologies like JSX or tagged template literals just derive from it.

Thanks, I'll take a look at your blog.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1069#issuecomment-3657831689
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1069/3657831689@github.com>

Received on Monday, 15 December 2025 22:15:06 UTC