3 ms·
> JSX is exactly a customized template DSL. Yes, but its a template DSL for JavaScript (and TSX is one for TypeScript), not a template DSL for HTML. Building
by dragonwriter 5y ago
> JSX is exactly a customized template DSL.
Yes, but its a template DSL for JavaScript (and TSX is one for TypeScript), not a template DSL for HTML.
Building JSX outputs JS, not HTML.
- recursive 5y agoYes, that's true. I don't see why it's significant though. There doesn't seem to be any inherent reason why an HTML-hosted DSL is more difficult to learn or use.