Before anyone says "oh but you don't have to use JSX": If it's optional, shouldn't React samples be shown in normal syntax, which is easier for beginners to comprehend?
I am personally of the opinion that JSX is way easier to comprehend than nested React.createElement calls, but I do think it's important for beginners to eventually learn what's happening under the hood of the JSX magic.
Before anyone says "oh but you don't have to use JSX": If it's optional, shouldn't React samples be shown in normal syntax, which is easier for beginners to comprehend?
I am personally of the opinion that JSX is way easier to comprehend than nested React.createElement calls, but I do think it's important for beginners to eventually learn what's happening under the hood of the JSX magic.
Check out redom/hyperscript then tell me nested createElement calls look ugly.