4 ms·
XML is more popular today than it's ever been. It's just called JSX now.
by boredtofears 3y ago
XML is more popular today than it's ever been. It's just called JSX now.
- incrudible 3y agoBesides being aesthetically similar to SGML, because it maps to HTML, JSX has nothing to do with XML. It is Javascript.
- bayindirh 3y agoIt just looks like JavaScript version of JSP to be honest.
- boredtofears 3y agoIt's literally shorthand for "Javascript XML" and its templating syntax is the same as XML. It has a lot to do with XML.
- incrudible 3y agoJSX 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.
- boredtofears 3y agoyou obviously didn't spend two seconds researching this https://en.wikipedia.org/wiki/JSX_(JavaScript) https://en.wikipedia.org/wiki/JSX_(JavaScript) https://facebook.github.io/jsx/ https://facebook.github.io/jsx/