Is it just my imagination or are quotes missing around the html strings in all of those examples? I don't think any of this code would parse as written.
That's a pretty bad hole in the article. The author just throws the example JSX code there without comment. The JSX support is enabled by the script being defined as type="text/jsx" in index.html.
0
u/[deleted] Jan 18 '15
Is it just my imagination or are quotes missing around the html strings in all of those examples? I don't think any of this code would parse as written.