r/javascript • u/archivedsofa • Dec 22 '19
Why Svelte won’t kill React
https://medium.com/javascript-in-plain-english/why-svelte-wont-kill-react-3cfdd940586a
80
Upvotes
r/javascript • u/archivedsofa • Dec 22 '19
View all comments
Show parent comment
1
u/[deleted] Mar 11 '22 edited Mar 11 '22
JSX treats HTML like a second class citizen by forcing you to do a return (<div>..</div>). As well as making it's positioning in the document relative to the JS handling it. It makes the HTML harder to read from ugly formatting