| Repeating a blog post over and over doesn't make it true. The author is wrong. Most of his statements are about React, not JSX. It's syntactical sugar for nested function calls, that's all. Brackets are turned into function statements, attributes are turned into object props. The author conflates React properties with JSX, which is wrong. The author also confused JSX limitations, you cannot do statements because it's a single expression. Please go read the JSX spec instead of some random blog post. https://github.com/facebook/jsx |
That should have been the end of this discussion and fight that you picked about your incorrect statement that "JSX is JavaScript". You just unwittingly undermined and terminated your own argument by linking to the JSX spec itself, which clearly and explicitly says you are wrong, in BIG BOLD WORDS.
As JimDabel said, "They wanted to be 100% clear about it." So stop repeating something that the JSX designers so insistent is not true that they put it in bold at the top of their design specification.
You already won this argument, for the "JSX is NOT JavaScript" side. It's over.