Hacker News new | ask | show | jobs
by cabbeer 4237 days ago
You don't have to use JSX with React. You can just use plain JS.
1 comments

To me this seems even worse though... I giant JS string holding a bunch of HTML.

In general I like HTML in the HTML file, or in a template file. Embedding large chunks of HTML in the JS, especially as a string is not my cup of tea.