DEV Community

[Comment from a deleted post]
Collapse
 
jackmellis profile image
Jack

I think this is everyone's thoughts after one day. Come back to this in a few months and see if you still think this. For many it's an elegant solution to the markup/logic separation that had been unavoidable up until jsx was devised

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

I hate it more each time I'm forced to work with it. It's about as elegant as the bad old days of PHP where an app's layout and logic were all bundled together. It was a terrible idea then, and it's a terrible idea now. I've been a professional developer for over 25 years, and have never seen such a ridiculous regression in the structuring of an application.

Try RiotJS or Svelte (which seems heavily inspired by the former)... much, much better

 
jackmellis profile image
Jack

I used to work on a Vue application with Single File Components and I couldn't understand why you'd ever want to litter your javascript with html elements, it seemed ridiculous.

After moving to React and spending several years with it, I now strongly believe that all of the negativity towards jsx is due to badly written components.

Having said all that, perhaps jsx is just not for you 😄