7 ms·
You don't have to use JSX with React. You can just use plain JS.
by cabbeer 12y ago
You don't have to use JSX with React. You can just use plain JS.
- lastofus 12y agoTo 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.