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

Call it what you want. The point is instead of inventing an entirely different template language, JSX adds a little bit of HTML/XML-like syntax to JavaScript. You use regular old JavaScript operators and functions for things like conditionals and loops.

You don't have to use JSX with React, but the vast majority of people do, because they aren't dogmatic about it not being "pure" JavaScript or whatever.



Look at this from an outsiders perspective. React's marketing says "It's just javascript", but it's not.

I don't take issue with how React works, I take issue with how it's being presented to new users and outsiders.




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

Search: