Re:Virtual DOM is pure overhead (2018)
by recursive on Tuesday June 29, 2021 @02:07PM
(#27679558)
JSX is exactly a customized template DSL. It's not a particularly difficult one, but that's exactly what it is.
[ Parent
| on HN ]
Re:Virtual DOM is pure overhead (2018)
by dragonwriter on Tuesday June 29, 2021 @02:27PM
(#27679799)
> 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.