3 ms·
Holy semantics. JSX is based on XML, which HTML is also based on. I think GP just hates React and JSX, which is valid.
by lwansbrough 3y ago
Holy semantics. JSX is based on XML, which HTML is also based on. I think GP just hates React and JSX, which is valid.
- zokier 3y agoHtml is not really based on xml, historically its more like the other way around, xml was inspired by html(/sgml). Xhtml was distinct dead-end evolutionary branch
- retrocryptid 3y agoIt is true I do not care for xml, html, xhtml or sgml. And the one thing that was decent about sgml, dsssl, we threw away. I do not care for the box model of HTML and would prefer for a segmented flow model so I can easily reason about pages as being... well... pages. I have no problem with declarative layout or semantic documents, but dislike frameworks that conflate the two. But... clearly... if you like react on HTML and want to have browser-like rendering of text on your terminal than more power to you. I'll go off now and build something that demonstrates my concerns. Thx for not severely down-voting my comment before I could begin to clarify...