Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

XML is more popular today than it's ever been. It's just called JSX now.


Besides being aesthetically similar to SGML, because it maps to HTML, JSX has nothing to do with XML. It is Javascript.


It just looks like JavaScript version of JSP to be honest.


It's literally shorthand for "Javascript XML" and its templating syntax is the same as XML. It has a lot to do with XML.


JSX stands for JSX. Your definition is something that people just imagine to be true. The React docs do not mention the word XML at all. The “templating” syntax is not XML. It has no defined semantics and does not generally support crucial XML features like namespaces.


you obviously didn't spend two seconds researching this

https://en.wikipedia.org/wiki/JSX_(JavaScript)

https://facebook.github.io/jsx/




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

Search: