4 ms·
"JSX isn't markup - it's [Extensible Markup Language]"?
by nacs 13y ago
"JSX isn't markup - it's [Extensible Markup Language]"?
- rakoo 13y agoJSX isn't markup, it's a compiler that transforms common HTML-like to custom React.DOM objects. From the doc [0]: > JSX transforms from an XML-like syntax into native JavaScript. [0] http://facebook.github.io/react/docs/jsx-in-depth.html http://facebook.github.io/react/docs/jsx-in-depth.html
- squidsoup 13y agoSorry, to be clearer, I meant it isn't HTML.