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

JSX 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



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

Search: