Hacker News new | past | comments | ask | show | jobs | submit login

React isn't HTML.



Holy semantics. JSX is based on XML, which HTML is also based on. I think GP just hates React and JSX, which is valid.


Html 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


It 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...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: